Computer Science 161 Exercise set #9 (I think I've slipped up in counting these exercise numbers - I'll check) Due: Monday, April 19 The file class.dat contains records organized as follows: Record #1 is a number giving the number of student records which follow. The remaining records follow the pattern of student.dat Write a program called class.cpp which will do the following steps: Create a record as in student.cpp (be sure to include the student's class average and letter grade in the record). Create an array of these records. Your array should accomodate at least 30 students (though the number may vary from run to run). The program should then 1. Read in records into the array from the file class.dat. Read in the records only - do not calculate anything in this step. 2. Go through the array, calculating, for each student, the student's class average and letter grade. 3. Sort the array in ascending order by student name (remember to use strcmp). Use any sorting algorithm you want to use, but be sure to name it. 4. Print a report of the class with a title, a column header line, and student records (including name, quiz scores, exam scores, class average, and letter grade). Include a footer which summarizes the number of students in the class the average on each quiz and exam the average student average the class GPA (counting an A as 4, a B as 3, and so on).