Question: 3a. Declare a linked list class called StudentList. The class should include a node struct which stores a Student's id (int) and gpa (double). The

 3a. Declare a linked list class called StudentList. The class should
include a node struct which stores a Student's id (int) and gpa
(double). The Studentlist class will have (10) a. A default constructor b.

3a. Declare a linked list class called StudentList. The class should include a node struct which stores a Student's id (int) and gpa (double). The Studentlist class will have (10) a. A default constructor b. A n append method that adds a node to the end of the linked list. The append method will have two arguments ( an id-int and a gpa- dout An insert method that inserts a node to the linked list in ascending order by id. This method will have two arguments (an id-int and a gpa - double) c. d. A displayList method that outputs the contents of the linked list to the screen e. An update method which takes two arguments ( an id - int and a gpa -double) f. A destructor

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!