Write a program that allows the user to enter students


Write a program that allows the user to enter students' names followed by their test scores and output the following information(assume that the maximum number of students in the class is 50):

a. Class average

b. Names of all the students whose test scores are below the class average, with an appropriate message

c. Highest score and the names of all students have the highest score

example of the data.txt file format:

AAA  85
BBB  90
CCC 100
DDD 85

Solution Preview :

Prepared by a verified Expert
Operating System: Write a program that allows the user to enter students
Reference No:- TGS01253025

Now Priced at $20 (50% Discount)

Recommended (93%)

Rated (4.5/5)