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
three players scored a total of 70 points during a basketball game one player scored twice as many as one mate and 10 points few
Fed [463]
40+20+10=70
40 is twice 20
10 is 10 fewer than 20.
7 0
4 years ago
Read 2 more answers
Write the equation of a line in slope-intercept form that has a slope of -1/4x and a y-intercept of 5
lesya692 [45]

Answer:

Step-by-step explanation:

Slope = m = -1/4

y-intercept = b = 5

Slope intercept form = y = mx +b

y =\dfrac{-1}{4}x+5

4 0
3 years ago
What is Mathematics?
storchak [24]

Answer:

Hey mate here's your answer.....

Step-by-step explanation:

Mathematics is a subject where you study more about numbers and daily life applications.

hope its helps you,

follow me....

8 0
3 years ago
Read 2 more answers
A convenience store sells two brands of orange juice. Brand A contains 8 fluid ounces and cost 1.28 Brand B contains 12 fluid ou
lapo4ka [179]
Brand b is 2 cents cheaper than brand a because it is 14 cents per ounce and brand a is 16 cents per ounce you do 1.68 divided by 12 and 1.28 divided by 8
7 0
3 years ago
draw and label a base twice as long as the height and an area less than 60 square inches. find the area.
Murljashka [212]
The height could be 2 inches and the width could be 4 inches which means it's a total of 8 squared inches
8 0
3 years ago
Other questions:
  • Find fog(x) when f(x) = 2x² + x and g(x) = 3x + 2
    13·1 answer
  • Monique Fournier deposited $12,500 into a savings account paying 6.5% annual interest compounded monthly. What amount will she h
    7·1 answer
  • A friend asks to borrow $250 for 18 months and agrees to pay 12% annual simple interest. How much interest will you earn? Round
    6·1 answer
  • You're given a fraction in simplest form the numerator is not a zero when you write the fraction as a decimal it is a repeating
    12·1 answer
  • (15-16) Consider the Infinite Geometric Series:
    12·1 answer
  • HELP I do not understand.
    13·2 answers
  • Morning donuts recently sold 14 donuts, of which 7 we're cake donuts. Considering this data,how many of the next 6 donuts sold w
    14·1 answer
  • 6+f49-8=2)<br><img src="https://tex.z-dn.net/?f=%20%5Ctan%2845%20%5C%5C%20" id="TexFormula1" title=" \tan(45 \\ " alt=" \tan(45
    12·1 answer
  • Sara hina and arsalan has rupees 930 if Sara has 7 more than Hina and arsalan has 3 times what sara has how much do they have
    7·1 answer
  • A hotel is building a large new aquarium for their lobby. They know the length from the top corner to the opposite bottom corner
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!