Question: please solve it with C++ 1) Implement an ordered linked list, linkedListOrdered class using templates, which contains data for the students (name, ID and cgpa),

please solve it with C++
1) Implement an ordered linked list, linkedListOrdered class using templates, which contains data for the students (name, ID and cgpa), and the data is sorted in the list as per the student IDs. The class should have the following functionalities: (20 Points) (a) Initialize the list (b) Determine whether the list is empty (c) Print the list (d) Find the length of the list (e) Destroy the list (f) Retrieve the info contained in the first node (g) Retrieve the info contained in the last node (h) Search the list for a given item (i) Insert an item in the list (make sure that the items are added to the list in a sorted manner) () Delete an item from the list (k) Make a copy of the linked list (1) Implement the assignment operator (=) (m)Calculate the average cgp of all students in the list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
