For this program you will use a file INFILE (posted on the website) that has information about students and their grades on 4 exams. The input file is shown below:
070543242 100078098084
091020222 090085098000
075655343 022067076057
513467845 076083082092
Your job is to display a report of the above information that includes overall averages for each student for exams 1 through 4, and class averages (assuming the class has 4 students) for each exam, and the overall class average for all exams.
The print chart for the output is shown below:
The actual output of the program is shown below:
CLASS AVERAGE REPORT |
STUDENT NUMBER |
GRADES |
EXAM 1 |
EXAM 2 |
EXAM 3 |
EXAM 4 |
AVERAGE |
70543242 |
100 |
78 |
98 |
84 |
900 |
91020222 |
90 |
85 |
98 |
0 |
683 |
75655343 |
22 |
67 |
76 |
57 |
555 |
513467845 |
76 |
83 |
82 |
92 |
833 |
AVERAGES |
720 |
783 |
885 |
583 |
743 |