Ask Question
22 February, 20:57

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

+1
Answers (1)
  1. 22 February, 21:01
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers