Question: Write a C++ program to manage a list of students waiting to register for a course using a linked list. Operations should include adding a
Write a C++ program to manage a list of students waiting to register for a course using a linked list. Operations should include adding a new student at the end of the list, adding a new student at the beginning of the list, removing a student from the beginning of the list, removing a student from the end of the list, and removing a student by name. Allow the user an option to exit.
NOTE: Functions/Methods must used throughout program. Function main() should be SMALL. Be sure to use good programming methodology and keep your project modular.
Functions/Methods created and called:
- add student at the end of the list
- add student at the beginning of the list
- remove student from the end of the list
- remove student from the beginning of the list
- remove student by name
- display the list of students
- exit
Please keep main() function small
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
