Question: DATA STRUCTURES C++ You are asked to implement doubly linked list of students registered in Data Structures course. Each student contains Name, regNo, cpa and

DATA STRUCTURES C++
You are asked to implement doubly linked list of students registered in Data Structures course. Each student contains Name, regNo, cpa and department and program as data. You are required to implement the following functions. insertStudent (name, Student) - Contains 2 arguments. 1" is name of the student after which the insertion is to be made. 2nd argument is Student Object that is to be inserted. If there is more than one student with same name, the user will be asked to enter the regNo after which insertion is to made. deleteStudent (regNo) - Contains regNo as an argument and deletes the student before the regNo passed topper() - returns the student(s) with highest cpa. Note, there can more than 1 student with the highest Gpa display() - displays all the students in the list Practice Tasks - Not included in assignment deleteStudent(cpa) - deletes all the students who have cGpa below the cGpa passed in the function createByDept (dept) - creates a new doubly linked list containing the students only from the department passed in the function sortByProgram() - sort the students based on program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
