Question: Implement FUNCTIONS the following scenarios. NOT COMPLETE PROGRAME .Your implementation should be complete in all aspects. N=068 ONLY IMPLEMENT FUNCTION C++ Suppose you have been
Implement FUNCTIONS the following scenarios. NOT COMPLETE PROGRAME .Your implementation should be complete in all aspects.
N=068
ONLY IMPLEMENT FUNCTION C++
Suppose you have been provided 3 course lists containing N registered students (name and reg numbers) in each course. The maximum number of students that can be registered in a course (value of N) should be entered by the user. You are asked to store this data using doubly linked lists, a separate list for each course.
Your task is to implement the following functions for the above scenario.
- registerStudent ( ) Asks the user about the course in which registration is to be made and then registers a student data in that course. Registrations are made on first come first serve bases. (The prototype of the function can be changed according to your own requirement)
- unregisterStudent ( ) Takes the student data as an argument and unregisters it from the course. If he/she is registered in multiple courses, the user will be asked from which course it should be deleted and based on the users selection, the student will be deleted.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
