Articuno1514 Articuno1514
  • 04-02-2020
  • Mathematics
contestada

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

Respuesta :

KvngDami
KvngDami KvngDami
  • 05-02-2020

Answer:

Step-by-step explanation:

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

#include<iostream> // 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;

}

Answer Link

Otras preguntas

If you don’t know if an author is credible, you should ____ him/her. A: discredit B: ignore C: research D: write 2. Having ____ in a source is bad because it
Help ASAP! I will give brainliest
Easy Question! The first answer gets brainliest! Solve for x: 2 over 3 (x − 4) = 2x. 2 −2 −8 −4
What is the definition of labor (one of the productive resources)? A) the people needed to produce goods B) the equipment needed to produce goods C) the f
Simplify the expression and solve the equation. Show all calculations
True or false talk as opposed to action was the more important rule in narrative based comedies
what do sun spots allow us to know about the sun
Please answer this question, will give brainliest!
Please help with math
Order the steps for reading a play by selecting the correct step from each blue box First Second Third Fourth Fifth Last Read the play aloud or with friends Rea