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.
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 0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started