Question: Write a program that computes and displays the average test score, highest test score and lowest test score of a set of test scores entered

Write a program that computes and displays the average test score, highest test score and lowest test score of a set of test scores entered by a user. For each student, a user should enter the students first name and a test score (float). A user should be able to enter any number of test scores (for example, a user may have 10 test scores, another user may have 100 test scores, and a third user may have 1000 test scores your program should be able to handle all of these cases). In addition to computing and displaying on the screen the average, highest, and lowest test scores, the program should write the students names and their test scores as well as the number of students in the class, and the average, highest, and lowest scores to an output file called test_Scores.txt.

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!