Question: Write a program that can be used in university to manage the registration of courses by students. In this program, you will manage arrays of

Write a program that can be used in university to manage the registration of courses by students. In this program, you will manage arrays of linked lists.

The number of courses is unknown, also the number of students, and might change from a term to another.

Each student has name and ID, and grade, and each course has a title, and code.

The program uses two dynamic arrays of all students and all courses.

Because student can register in more than one course, so one data member of each student object in the array refers to the list of the courses registered by him.

Also, because several students may register to the same course, so one data member of each course object refers to the list of students registered in this course.

Write a program that can be used in university to manage the

In the testing class, use a list of courses, and a list of students to do the following:

1-Add a new student.

2-Add a new course.

3-Register a new student to a new course.

4-Remove a student from a course.

5-Delete a course.

6-Print all students in a course.

7-Print all courses registered by a specific student.

8-Assign a grade to a student.

9-Store all information of students and courses in the university file at the exit, and initialize the entire linked list using this information at the beginning of program.

Students 404 405 1 2 3 5206 5207 5208 300 300 3 0 3e 0 31 0 Students 404 405 1 2 3 5206 5207 5208 300 300 3 0 3e 0 31 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!