Question: Write a C++ program that reads a students last name and first name followed by 10 numeric grades [0 100] from a file. The number

Write a C++ program that reads a students last name and first name followed by 10 numeric grades [0 100] from a file. The number of records on the file is unknown, read and process each record until end of file is encountered.

Compute the average of each students grades after dropping the lowest grade (round average to the nearest integer before assigning letter grade.

Also compute and print the first name and last name of the student with the highest average and the lowest average.

Assign letter grades using the scale below:

A 91 100

B 80 -- 90

C 70 79

D 60 -69

F 0 - 59

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!