In this project, you will write a software for the Registrar's office of a university called YouOIT to maintain information about students and courses at the university.
The registrar office maintains a master text file, called classes.txt. This file contains the names of all classes taught at the university. For each class, the registrar office keeps a file with ID numbers of the students who took that class and their final numerical grade in the class. The registrar office also keeps another master file, called students.txt, with the ID numbers and names of all the students registered at the university. The following figure shows an example of how the files look like:
classes.txt
csc1
csc2
infr1500
infr1100
infr2820
.....
|
csc1
10031 90
10015 49
10078 65
10097 85
....
|
csc2
10015 76
10078 49
10090 65
10058 85
....
|
infr1500
10090 90
10058 49
10078 65
10031 85
....
|
students.txt
10097
10031
10078
10015
10058
10090
....
|
First Name
Dave
Sara
Tara
Khalid
Bob
Tessa
....
|
Last Name
Tosh
Wong
Martin
Noor
Dylan
Steve
|
Figure: Sample files and content for the project
Task:
Your task for this project is to develop a system that would provide the following features:
1. Register new student
2. Drop student from university
3. Add a course and grade (provided that the student is already registered in the university)
4. Modify student info
5. Display grade report
6. Display student info with highest and lowest average
7. Exit