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

The suffix -para means a. blood condition. b. to bear. c. fallopian tubes. d. labor.
A feeling of worry or uneasiness, often triggered by an event with an uncertain outcome is defined as: sadness. depression. anxiety. euphoria.
Celine is estimating the number of tiles in a mosaic. there are 7 different colors and 1725 tiles of each color what should Celine estimate be?
What were the main characteristic of the Roman republic
3.5x - 10 > - 3 and 8x - 9 < 39
Mono lake has a salinity of 40 parts per thousand. therefore, it is considered _____.
what is the first syllable of the word song?
For how long would you have to invest $5000 at 5% interest to double your money? Show work.
When did the French first provide support to the patriots
A= a+b+c+d over 4 for c