Assignment title: Information
CSDP241 Spring, 2016 Program 01 due: February 09, 2016
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
The numbers on the left are Student Numbers. The interpretaton of the numbers on the right are: the student 070543242 has grade 100 on exam 1, grade 078 on exam 2, grade 098 on exam 3 and grade 084 on exam 4.
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 G R A D E S NUMBER EXAM 1 EXAM 2 EXAM 3 EXAM 4 AVERAGE
070543242 100 078 098 084 0900
091020222 090 085 098 000 0683
075655343 022 067 076 057 0555
513467845 076 083 082 092 0833
AVERAGES 0720 0783 0885 0583 0743
Pass in your completed program (.cbl file only)