1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vodka [1.7K]
4 years ago
10

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

Mathematics
1 answer:
frez [133]4 years ago
7 0

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;

}

You might be interested in
Can someone show me the answer + how they got there? (x+4)(x-1)
Naily [24]

Answer:

x^2+3x-4

Step-by-step explanation:

x * x - x + 4x - 4

x^2 - x + 4x - 4

x^2 + 3x - 4

6 0
4 years ago
Read 2 more answers
JM is the perpendicular bisected of LM. Which segments are congruent?
Lena [83]

Answer:

a

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
What is the solution to the system of equations?<br> y = x +3<br> X=-2
Leto [7]

Answer: (-2, 11/6)

Step-by-step explanation:

7 0
3 years ago
What is the decimal expansion of the following fraction? A OA. 0.5 OB. 0.5 OC. 1.2 OD. 0.12 Reset Subr​
snow_lady [41]

Answer:

A/B O.5 (you put 0.5 as A and B) but 0.5 is the answer.

Step-by-step explanation:

In expanded form of decimal fractions we will learn how to read and write the decimal numbers. ... (i) 100 + 0.5 + 0.06 + 0.008 (ii) 80 + 1 + 0.02 + 0.005.

5 0
2 years ago
Find the length of the indicated
Vladimir [108]

Answer:

25

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • Which expression is tge simplest form of -(4x+y)+2(x-3y)​
    9·2 answers
  • Gabriel divides 64 grapes among his 15 friends. How many grapes does Gabriel give each friend?
    15·1 answer
  • Simplify. 5 2+20 <br> 5 <br> 30 <br> 45 <br> 72<br> (The 5 2 is an exponent.)
    10·2 answers
  • A RECTANGULAR PRISM HAS A VOLUME OF 729 FEET . THE LENGTH,WIDTH AND HEIGHT ARE ALL THE SAME. WHAT IS THE LENGTH OF EACH SIDE OF
    10·1 answer
  • PlEAssE HeLPLL!!!!! LIKE REALLY HELP ME!!
    10·2 answers
  • There are 9 apples. there are 6 fewer apples than oranges. how many oranges are there
    11·2 answers
  • A triangle has sides that measure 2 units, 5 units, and 5.39 units. What is the area?
    10·1 answer
  • Help me PLEASEEEEEEEEEEEE :C
    12·2 answers
  • PLEASE HELP!!!!!
    8·1 answer
  • Both passages base their arguments on the unstated
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!