a) Input names of students from the user, terminated by "ZZZ", 0, 0, 0 and create a data file grades with records of the following form:
Student (string), test1 (integer), test2 (integer), test3 (integer)
b) Display the contents of the file grades formed in Part a. Each student's record should appear on a separate line and include the number score (the sum of the three tests) for that student. For example, a line of output might be as follows:
R. Abrams 76 84 82 242
c) Change the program of Part b so that at the option of the user, it displays either the whole contents of the file grades or just the record of a specified student. In either case, for every student displayed, also display his or her total test score.