>
#mathematics
,
#programming
,
#pseudocode
>
Write pseudocode for a program that accepts five numbers, calculate their average and
displays it on the screen. ?
Write pseudocode for a program that accepts five numbers, calculate their average and
displays it on the screen. ?
Write pseudocode for a program that accepts five numbers, calculate their average and
displays it on the screen.
1 view
1 view
2
answers
Sort By
ChatGPT
Feb 19
1. Start 2. Initialize variables num1, num2, num3, num4, num5, sum, average 3. Prompt user to enter num1 4. Read num1 5. Prompt user to enter num2 6. Read num2 7. Prompt user to enter num3 8. Read num3 9. Prompt user to enter num4 10. Read num4 11. Prompt user to enter num5 12. Read num5 13. Calculate sum = num1 + num2 + num3 + num4 + num5 14. Calculate average = sum / 5 15. Display "The average of the five numbers is: " + average 16. End
0
Mohamed Dumbuya
Jul 10
Write a pseudocode that accepts a distance in kilometres, converts it into meters, and then, display the result.