Home / Expert Answers / Computer Science / this-is-in-c-a-exam-scores-in-a-linked-list-assume-there-are-seven-exam-scores-in-the-class-d-pa512

(Solved): This is in C a) Exam scores in a linked list Assume there are seven exam scores in the class. D ...



This is in C

a) Exam scores in a linked list
Assume there are seven exam scores in the class. Design your own linked list to hold a series

b) Continuation from part a.
Assume there are seven exam scores in the class. Design your own linked list to hold a series of

a) Exam scores in a linked list Assume there are seven exam scores in the class. Design your own linked list to hold a series of exam scores. The class should have functions for appending the list, printing the list, and finding the average. Sample exam scores: \( 70,80,95,85,30,40,90 \) First, you will need to display the linked list. Then display the class average. b) Continuation from part a. Assume there are seven exam scores in the class. Design your own linked list to hold a series of exam scores. The program should have functions for printing, appending, finding the average, and deleting a node. (You may have more functions than what is listed here). Sample exam scores: \( 70,80,95,85,30,40,90 \) 1) You need to find the highest and the lowest exam scores among the linked-list and display its value and the address. Display the list. 2) Replace the lowest exam score with a new node that has the value 70 . Then display the address of this new node. (Note: address displayed at step 1 of the lowest score and the new node at this step should be different). Display the list. 3) Delete the highest exam score from the list and display the list. 4) Calculate and display the class average.


We have an Answer from Expert

View Expert Answer

Expert Answer


Here is the code in C. Code: #include #include //create node with data and pointer to next node //using struct struct Node { doubl
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe