Question: I want it use linked list function c++ language please and file for header and another one for main source Create a class C Luks

I want it use linked list function c++ language please and file for header and another one for main source  I want it use linked list function c++ language please and

Create a class "C Luks List' using the "main', function shown below. The program should be able to count duplicates in a singly linked list of structure int StudentiD string StudentName double cgpa). You are required to program an addNiode method, that adds nodes shown in the main method to the linked list. Furthermore, a countDuplicates0) function should be able to tell how many entries are duplicated for the students. You are free to use struct or class for Students. int main CLinkedluist listQbj listobiaddNode(101,"Student 1",. 3.0); listobiaddNode(102, "Student 2",. 3.1) listQbi addNode 101, "Student 1". 4.0) listobiaddNode(104, "Student 4". 4.2); listobi addNode(105, "Student 5". 4.5) listQbi addNode(106, "Student 6", 4.5) listQbiaddNode 102, "Student 2". 4.5); listObi addNode(101, "Student 1", 3.5); listobi showDuplicates0. system( pause"); return 0 )eturn o. Below is the output: Nanme Student l cgpa cgpa: 3,1 copa : 4,2 copa : 4,5 cgpa : 4.5 ount: 3 ount 1022Name : student 2 Name : Student4 Name Student 5 Name : Student 6 1O : 104 ount : 1 D 105 ount 1 D 106 ount : 1 ress any key to continue

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!