Question: For each of the following problems, write a program or a program segment that performs the specified action. 1. Create a simple sequential-access file-processing program
For each of the following problems, write a program or a program segment that performs the specified action.
1. Create a simple sequential-access file-processing program that might be used by professors to help manage their student records. For each student, the program should obtain an ID number, the students first name, the students last name and the students grade. The data obtained for each student constitutes a record for the student and should be stored in an object of a class called Student. The program should save the re- cords in a sequential file specified by the user.
2. Create a simple sequential-access file-processing program to complement the first program. This program should open the file created by the the first program and read and display the grade information for each student. The program should also display the class average.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
