QUESTİON
Write a C++ program for the student information system of a university. The information about students will be kept in an array of objects where each object stores two fields: name of the student and a linked list containing the information about the courses he/she is taking. The course information will include course code, grade and the credits of the course.
The main program will perform the following:
Input the student information from a text file into the array of objects. The text file will contain the following data:
Name of the student
Course code, grade and credits of every course the student has taken,
The course information of the students are separated by the ‘#’ symbol in the file.
In your program, do the following
Input the text file into your data structure.
List the students that have taken a course (ClassList)
List the courses a student has taken (CourseList)
Create a new Ordered Linked List containing objects with the following information: name of the student and his/her gpa.
Output the new linked list
Quit
Sample Run:
Enter ClassList, CourseList, OutputGPAs or Quit: ClassList
Enter course code: Compe226
The student list of Compe226:
Yavuz
Turgut
Ayse
...
Enter ClassList, CourseList, OutputGPAs or Quit: CourseList
Enter name of student: Yavuz
The courses Yavuz has taken:
CourseCode Grade CourseCredits
Compe226 AA 3
Math276 AA 4
Compe236 AA 4
IE220 AA 3
Enter ClassList, CourseList, OutputGPAs or Quit: OutputGPAs
Name GPA
Yavuz 4.00
Esin 2.50
...
Enter ClassList, CourseList, OutputGPAs or Quit: Quit
Note:
Use the linked list header file in your program(WE HAVE IT)
Prepare your input file for only 5 students.