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

Why is time management an important part of the writing process? A. Papers can take up to three hours to write, so you have to budget that into your week. B. Yo
How does literature mirror life
Which body part MOST LIKELY formed this fossil? blood B bones fur D skin
What is the value of w in the equation 10(2) -4(-w)=36
Color in the grid to represent the fraction 25/100
2 întrebări în germană cu fiecare tip:wie,wo,wer,wann,welches,was,warum,wie viel,var,wie alt,suchen Repede vă rog
I would like a summary of ¨Death to high school English.¨ by KIM BROOKS. 3-5 sentences are what is needed please. ill give 50 points
how many grams are in 3.45 moles of CO2?​
What is the name of a brazilian treat made from cheese and guava?.
How did feudalism help form an economy during the Middle Ages?