Question: Project Description: In this project ( please use linked list in c programming), you are going to maintain a database of all students attending Montgomery

Project Description: In this project ( please use linked list in c programming), you are going to maintain a database of all students attending Montgomery College using linked list. There are two types of structures in this project. For each course, we have a structure called: "course". It has the following member elements: Course Name --5 char long (such as ENEE) Course ID integer (such as 150) Course CRN integer (such as 33561) For each student, we have a structure called "student" with the following member elements: First Name 100 char long Last Name 100 char long MC Number 10 char long (such as M12345678) Number of Courses registered integer (no more than 10) Array of Courses a 10 element array of "course" elements next pointer to the next student Structure in the list In your program, you will display a prompt list> and wait for the user to enter one of the four choices (1) insert (2) delete (3) display (4) exit. If an invalid choice is entered, display error message "Invalid Choice." and wait for next input. If choice is 1, the program will prompt the user to enter a student record. The record will then be inserted into a sorted linked list based on the MC number of the student. For each student, the record will be entered line by line in the following manner. No individual prompt is needed for each item. For example: Lisa Sanders M12345678 3 ENEE 204 33511 ENEE150 33561 ENEE206 32204 Make sure you check thoroughly for relevant errors and display associated error messages. If the student exists in the list already (i.e, same MC numbers), display a proper error message and return to the prompt. If choice is 2 and the student list is not empty, the program will ask the user enter the student's MC number to be deleted. If student's MC number is not found in the list, display a proper error message and return to the prompt. If choice is 3, program will display a list of sorted student record in the format that is shown in choice 1 based on the MC number of the student. Use an empty line to separate each student's record. Display the total number of students in the list at the end. If the list is empty, display "The list is empty". If choice is 4, program will terminate. Error handling: Invalid choice Failure to allocate memory Delete an empty list MC number not found Student exists already (duplicated ID number) when inserting Number of courses exceeds 10 Invalid number of courses

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!