Question: Write a program in pseudocode that calculates the average of any number of positive numbers. Here are the requirements: The program runs as long as

Write a program in pseudocode that calculates the average of any number of positive numbers. Here are the requirements:
The program runs as long as the number entered by the user is not 0.
When a 0 is entered, the program terminates and displays the average of all the numbers entered.
When each number is entered, you must validate it to make sure the number not negative. We only allow averaging positive numbers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!