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

Explicar el legado cultural de Caral, Tiahuanaco y el Perú antiguo
the participants in the quiz seem masterminds because​
Divided 29 into two parts so that the sum of the squares of the parts is 425 . Find the value of each part.​
im writing a speech , no wrong or right answers * limited to ppl in the uk only sorry * but what do you think is wrong with our school system , what could be do
Very Short Easy Story in Hindi in 80 words. 50 points (a/t) Please answer fast and il mark brainliest.
The diagram shows triangle ABC. С Work out the sizes of angles x, y and z. 40° 110° х Z A В
There are 4 contestants in a beauty pageant. How many results are possible for the first, second, and third place?
Which statement is an example of the symmetric property of congruence
If f(x) = 2x + 1 and g(x) = x2 + 5, what is g(f(2))?
Create a cross word puzzle with your own ideas