fffcc274 fffcc274
  • 12-06-2020
  • Computers and Technology
contestada

write an algorithm to calculate the sum of three numbers A, B and C​

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 19-06-2020

Answer:

1. Start

2. Display "Enter three numbers"

3. Input A

4. Input B

5. Input C

6. Sum = A + B + C

7. Display Sum

8. Stop

Explanation:

Line 1 and Line 7 of the algorithm implies the start and end of the algorithm, respectively.

Line 2 prompts user for input of three numbers

Line 3 to 5 accept input from user and these inputs are saved in variables A, B and C

Line 6 adds the three inputs and saves the result in variable Sum

Line 7 displays the value of Sum

Answer Link

Otras preguntas

What was the destination of most Dust Bowl migrants?
how do you write 7/9 in a decimal and does the decimal terminate or repeat
Which of these was a major difference between urban and rural lifestyles in the 1920s? A. Runral Americans had higher incomes B. Rural Americans had mroe free t
Is Georgia a state or a country?
which hemispheres lie on either side of the prime meridian
the absolute value of any number is always (blank) and is that number's distance from zero on a number line. (blank)= answer
Find a pair of square numbers which give a total of 18100
an employer was hired at a wage of $8 per hour.After a raise, the employee earned $8.75 per hour. What was the percent increase?
In 1784 officials form which country close the lower Mississippi which the United States utilized to ship goods to Eastern market in 1784 officials for him whic
The first settlement of Rome was built where