Question: Can someone help me out with this? Write a program for keeping a course list for each student in a college. The information about each
Can someone help me out with this?
Write a program for keeping a course list for each student in a college. The information about each student should be kept in an object that contains the students name and a list of 8 courses completed by the student. The courses taken by a student are stored as a linked list in which each node contains the name of a course, the number of units for the course, and the course grade. The program gives a menu with choices that include adding a students record, deleting a students record, adding a single course record to a students record, deleting a single course record from a students record, and printing a students record to the screen. The program input should accept the students name in any combination of upper- and lowercase letters. A students record should include the students GPA (grade point average) when displayed on the screen. When the user is through with the program, the program should store the records in a file. The next time the program is run, the records should be read back out of the file and the list should be reconstructed. The code should be done in c++ with visual studio.
This is the input file format:
student_name_1
student_1_gpa_1
student_1_course_name_1
student_1_course_1_unit_worth
studnet_1_course_1_unit_grade
etc
blank line
student_name_2
student_2_gpa_2
student_2_course_name_1
student_2_course_1_unit_worth
studnet_2_course_1_unit_grade
student_2_course_name_2
student_2_course_2_unit_worth
studnet_2_course_2_unit_grade
etc
blank line
student_name_3
student_gpa_3
student_course_name_1
etc
student_3_course_name_5
etc
blank line
etc
This is the format of the input file. Each student can have 8 or more courses to their records. The units are input interger 1 through 4, and can be students course grade input interger is by 0 through 4. For example if calculus is a 4 unit class and the student makes an 'A' in the class then their unit grade is a 4. And a "C" would be a 2. GPA is also on a 4 point scale.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
