Question: Write a python program with a 'while' loop that asks the user to enter a series of test grades in the range 0 to 100.

Write a python program with a 'while' loop that asks the user to enter a series of test grades in the range 0 to 100. The user should enter a negative number to signal the end of grade input. After all the grades have been entered, the program should display the average of the grades. The average should be displayed to one decimal place.

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!