Question: Draw a flowchart for the program that will let a teacher enter exactly 5 scores (each score needs to be greater than or equal to

 Draw a flowchart for the program that will let a teacher
Draw a flowchart for the program that will let a teacher enter exactly 5 scores (each score needs to be greater than or equal to zero). The program will output the total and average score. Reject bad inputs from the user. If she enters a negative number, tell her "Invalid score. Enter a score again" Test your algorithm using a table with the following 2 cases. Make one table for each test. You will have 2 separate tables. Repetition# Score Score Enter a score: 25 Enter a Enter a score: 0 Enter a score: 80 Enter a score: 55 score: 30 The total score is 190 The average is 38 HINT Use a while loop to reject negative inputs. Refer to page 12 in "Lecture Notes: Algorithms - repetition

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!