(1) Each student in the university takes a different number of courses, so the registrar has
decided to use a linked list to store each student’s class schedule and an array of structs to
represent the whole student body. A portion of this data structure is shown below:
Id link
0 1111 CIS120 1 3 HIS101 2 4
1 1234
2 1357 CIS120 2 3
These data show that the first student (ID 1111) is taking section 1 of CIS120 for three credits
and section 2 of HIS1001 for four credits; the second student is not enrolled; and so on. Write a
class for this data structure. Provide operators for creating the original array, inserting a student’s
initial class schedule, adding a course, and dropping a course. Write a menu driven program that
uses the class.
Sure why not its not like I have anything better to do right now so why don't I answer your question and do your work :)
Its not hard just requires a few hours of your time and a pen and paper, although I recommend a pencil and now break it down to manageable bits, first pseudo code the structure and then the link list.