Question: write python code 3. Write a program that will average test scores entered by the user. The user will enter each individual test score. The

write python code write python code 3. Write a program that will average test scores

3. Write a program that will average test scores entered by the user. The user will enter each individual test score. The program will validate that the number is between 0 and 100, inclusive. The program will calculate the average of the valid test scores rounded to two decimal places and print the result as shown below. In the print result below, it will also count the # of valid test scores. The program will use a sentinel loop to determine whether it is done entering the test scores Output should be displayed as follows (includes blank lines and spacing): Lab 4 ESIT 200 Enter a test score between 0 and 100, -1 when done. 99 Enter a test score between 0 and 100, -1 when done 105 Invalid entry! Enter a test score between 0 and 100, -1 when done: 85 Enter a test score between 0 and 100, -1 wen done. -1 The average of 2 test scores is: 92.0

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!