I have an assignment for class and could use some help. I will post the problem below I just need advice on how I would store all the data. Also how would I access it after I store it. Side Note we are not allowed to use structures or objects.
ASSIGNMENT
For the purposes of this gradebook you should first provide a menu with the following options
Add a new course
Add a new student to a course
Add grades for a student in a course
Print a list of all grades for a student in a course
Print a list of all students in a course
Compute the average for a student in a course
Compute the average for a course
Store Gradebook (to a disk file)
Load Gradebook (from a disk file)
Each of these menu items should correspond to a function you will write.
For the basic program each student will be represented by an ID number
And each course by a course number
Grades will be whole numbers only (no fractional part)
As indicated in the menu you will need to store and load using a disk file so that the data is retained.
Here are so limiting values to help you in defining your data structures:
Maximum Number of students (total) 100
Max number of courses 25
Max number of courses per student 4
Max number of grades per student per course 10