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
Determine how long it will take for $4000 to quadruple in a bank account earning 3.57% interest compounded continuously. Round t
tankabanditka [31]

Answer:

12 months, so 1 year

Step-by-step explanation:

5 0
2 years ago
Divide 2/8 by 9/18 . Input your answer as a reduced fraction.\
Katen [24]

\large\displaystyle\text{$\begin{gathered}\sf \boldsymbol{\sf{\frac{2}{8}\div\frac{9}{18}   }} \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf Simplify \ \frac{2}{8} \ to \ \frac{1}{4}. \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf \boldsymbol{\sf{\frac{1}{4}\div\frac{18}{9}   }} \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf Use \ this \ rule: a\div \frac{b}{c}=a\times \frac{c}{b}a \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf \boldsymbol{\sf{\frac{1}{4}\times\frac{18}{9}   }} \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf Use \ this \ rule: \frac{a}{b} \times \frac{c}d{}=\frac{ac}{bd}. \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf \boldsymbol{\sf{\frac{1\times18}{4\times9} \ \to \ \ Multiply  }} \end{gathered}$}

\large\displaystyle\text{$\begin{gathered}\sf \boldsymbol{\sf{ \frac{18}{36}= }}\boxed{\large\displaystyle\text{$\begin{gathered}\sf \boldsymbol{\sf{\frac{1}{2}  }} \end{gathered}$}} \end{gathered}$}

8 0
2 years ago
Read 2 more answers
What is the area of this parallelogram? O 28 m2 O 56 m2 0 84 m2 0 120 m2​
Advocard [28]

Answer:

area of parllelogram=base×height=(4+8)×7=12×7=

84m²

4 0
2 years ago
Please help!!!! i don’t understand any of this and really need it.
astraxan [27]

Answer:

B) 3.2 mi

Step-by-step explanation:

1. The midpoints: midpoint formula = <em>((x₁ + x₂)/2, (y₁+ y₂)/2)</em>

upper = ((6 + -4)/2, (8 + 0)/2) --><em> (1, 4)</em>

lower = ((-8 + 2)/2, (3 + -5)/2) --><em> (-3, -1)</em>

2. Distance: distance formula = <em>√((x₁ - x₂)² + (y₁ - y₂)²)</em>

√((1 + 3)² + (4 + 1)²) = √(16 + 25) = √41 ≈ 6.403... ≈ <em>6.4</em>

3. Scale: 6.4 * 0.5 mi = 3.2 mi

5 0
3 years ago
The table shows the depth of a submarine over a 2 hour period. Did the sub go up or down?By how much?
hichkok12 [17]
If the sub is closer to the surface later, we thus know that it traveled upwards.

4 0
3 years ago
Read 2 more answers
Other questions:
  • X+8 = 17 - 8 -8 X 1 x=2<br>​
    7·1 answer
  • Find the surface area of a cylinder with a height of 8 inches and base diameter of 6 inches
    12·1 answer
  • -2x + 10 +4x=70 (what is X?)
    12·2 answers
  • Freesia walks 12 miles in 4 hours. At this rate, how many miles does she walk in 7 hours?
    15·1 answer
  • Adrian paid $465.60 for 120 rubber pads for the bottom of his store's chairs. How much did Adrian pay for each rubber pad? Dameo
    13·2 answers
  • How do you write 79% as a fraction, mixed number, or whole number in simplest form?
    6·2 answers
  • Can someone explain how to do 7 and 13
    6·1 answer
  • 7^7/7^3=7^x solve for x
    8·1 answer
  • If both figures have the same perimeter what is the value of x?​
    7·1 answer
  • There are 7 roses in a vase of 16 flowers. The rest are daisies.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!