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 value of x makes the equation 2/3x-3=11 true?
harkovskaia [24]

Answer:

x = 21

Step-by-step explanation:

To see for what value of x is the equation true, we have to solve x.

\displaystyle \frac{2}{3} x - 3 = 11\\\\Adding \ 3 \ to \ both \ sides\\\\\frac{2x}{3} = 11 + 3\\\\\frac{2x}{3} = 14\\\\Multiply \ 3 \ to \ both \ sides\\\\2x = 14 \times 3\\\\2x = 42 \\\\Divide\ both\ sides\ by\ 2\\\\x = 42/2\\\\x = 21\\\\For \ x = 21\ the \ given \ equation \ is \ true.\\\\\rule[225]{225}{2}

Hope this helped!

<h3>~AH1807</h3><h3>Peace!</h3>
7 0
2 years ago
Determine the measures of the angles requested using the picture below.<br>​
lapo4ka [179]
SHDJJEHEH shdhshshshshduvuvuvububuyb
5 0
3 years ago
What is the quotient of 7^-1/7^-2?<br> 1/343<br> 1/7<br> 7<br> 49
vazorg [7]

Answer:

7^-1/7^-2

7^(-1+2)=7^1=7

8 0
2 years ago
Brailiest for answer
SIZIF [17.4K]

Answer:

Hello! answer: 4/5

Step-by-step explanation:

20 ÷ 5 = 4 25 ÷ 5 = 5 therefore that is 4/5 and since you cant reduce further 4/5 is the answer HOPE THAT HELPS!

3 0
2 years ago
Read 2 more answers
List two ways you use energy. How does each example involve a change?
VMariaS [17]
<span>You use energy when you turn on a light in your home, or even when you're driving in a car. You can change how you use energy by riding your bike or skateboard to school, or leaving the light off during the day and opening the blinds.</span>
8 0
3 years ago
Other questions:
  • How do you solve this problem?
    7·1 answer
  • A small accounting firm has 444 accountants who each earn a different salary between \$50{,}000$50,000dollar sign, 50, comma, 00
    10·1 answer
  • How many solutions does this system have?
    7·2 answers
  • Given that a triangle has two sides of lengths 5 inches and 7 inches, which is a possible length of the third side?
    15·1 answer
  • Find f(-3) for the function f(x)=x^2-8x
    7·2 answers
  • PLS HELP !!
    6·2 answers
  • PLZ i want the answer
    7·1 answer
  • Please help me in this question​
    12·1 answer
  • ANSWER FOR BRAINLIEST<br> CORRECT ANSWERS ONLY
    6·1 answer
  • What is the mesure of 5
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!