The file lab2.dat starts with the number of students in the file. Each student is stored with the name on one line followed by the student id followed by grades 1 and 2 on different lines. Your output file should have the number of students, followed by each student's output. Student output should consist of a name followed by a grade all on one line.
Indicate which student's grades are being processed by calling on the student print function. That function should print the student's name to the output window.