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 are the domain and range for the cube root function graphed below? Justify your answer in complete sentences.
Use the past participle to complete the sentence. I wish I would have _____ to greet her when she walked by. rise rose rised risen
Kunkel, applebaum, and nelson focus on which type of financial support for caregivers?
Which isotope has 8 neutrons and can be used for metabolic studies and to date archeological artifacts? A. carbon-13 B. carbon-14
if a person has a mass of 60 kilograms,what is his mass in tons
why is a bowling ball harder to lift than a basketball ?
Please answer this question!
Which best describes how writers of creative nonfiction often choose their themes?
Generally the dominant group of planktonic primary producers in cold water:
Simplify 270 ÷ 3[(4 - 3)3 - (-9)] - 53