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]
3 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]3 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
Which of the following is an example of simple harmonic motion?
Klio2033 [76]

the answer would be C

5 0
2 years ago
Read 2 more answers
The point A(-7, 3) is reflected over the point (-4, 5) and its image is point B.
Rudiy27

(7, 3) is the answer I believe

3 0
2 years ago
Help please i need help asap
hram777 [196]
What do you need help with? you have nothing here to answer

3 0
3 years ago
Mateo jogs for 3 3/4 miles on Saturday and 4 2/5 miles on Sunday. What is the total distance, in miles, that Mateo jogged in the
vesna_86 [32]

Answer:

Mateo jogged 8 3/20 miles in the past 2 days.

Step-by-step explanation:

Given:-

Distance on Saturday = 3 3/4

Distance on Sunday = 4 2/5

Total distance = 3 3/4 + 4 2/5

                       = 15/4 + 22/5

                       = LCM of deniminators (20)

                       = 75/20 + 88/20

                       = (75 + 88)/20

                      =  163/20

                      = 8 3/20

6 0
2 years ago
Read 2 more answers
Choose the equation that correctly uses the Pythagorean Theorem for the given right triangle.
svetoff [14.1K]

Answer:

equation \: for \: pythagorean \: theorem \: is \:  \\  {3.8}^{2}  +  {6.8}^{2}  =  {x}^{2}

6 0
2 years ago
Read 2 more answers
Other questions:
  • In Sal’s sock drawer, there are 2 red, 2 blue, 2 yellow, 2 black, and 2 green socks. If he randomly picks one sock from the draw
    12·2 answers
  • When testing the claim that p 1p1equals=p 2p2​, a test statistic of zequals=2.04 is obtained. Find the ​p-value obtained from th
    5·1 answer
  • A machine produces photodetectors in pairs. Tests show that the first photo detector is acceptable with probability 3/5. When th
    6·1 answer
  • Anyone down to play nitro type with me?
    8·2 answers
  • 400 is ten times as much as
    10·1 answer
  • A car travels 2 hours and goes a distance of 96 miles. What is his speed?
    15·1 answer
  • Explain how you could determine whether a calculator correctly performs the order of operations
    8·1 answer
  • A town has a population of 2000 and grows 4% every year. What will be the population after 15 years?
    5·1 answer
  • 3. The table gives the coordinates of a
    11·1 answer
  • Identify the algebraic expression that represents the word phrase "7 less than a number
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!