Ask Question
19 July, 20:17

Write a program that accepts a whole number as Input multiplies that number by 12 the outputs the product

+1
Answers (1)
  1. 20 July, 00:14
    0
    Step-by-step explanation:

    programs can be written in multiply languages. for this solution I'll be writing in C++.

    #include / / this is called the preprocessor definition

    using namespace std;

    int main () / /the main function

    {

    int num, product; / /declaration of the variables

    cout << "enter the whole number";

    cin >> num;

    product = num * 12;

    cout << product; / / displaying the final results

    return 0;

    }
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a program that accepts a whole number as Input multiplies that number by 12 the outputs the product ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers