In this assignment, you will write grading program for a class with the following grading policies.
1. there are 2 quizzes, each graded on the basis of 10 points.
2. there is 1 midterm exam and one final exam, each graded on the basis of 100 points.
3. the final exam counts for 50% of the grade, the midterm counts for 25%, and the 2 quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores.)
A letter grade will be given based on the following criterion:
90 – 100 A
80 – 89 B
70 – 79 C
60 – 69 D
0 – 59 E
The program will read in the student’s scores from a text file, and output the student’s record, which consists of the name, 2 quiz and 2 exam scores as well as the student’s average numeric score for the entire course and final letter grade.
Define and use a class for the student record. All the scores are integers and a student name consists of no more than 10 characters. You must justify your output file.
_______________________________________________
Thanks so much.