Ask Question
22 July, 00:12

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

+2
Answers (1)
  1. 22 July, 00:19
    0
    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
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write an algorithm to calculate the sum of three numbers A, B and C ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers