Question: c language only please Write a program to read a list of students from a file and create a list. The program should use a

 c language only please Write a program to read a list

c language only please

Write a program to read a list of students from a file and create a list. The program should use a linked list for implementation. Each node in the linked list should have the student's name, a pointer to the next student, and a pointer to a linked list of scores. There may be up to four scores for each student. The program should initialize the student list by reading the students' name from the text file and creating null score list. It should then loop through the list, prompting the user to enter the scores for each student. The scores' prompt should include the name of the student. After all scores have been entered, the program should print the scores for each students along with the score total and the average score. The average should include only those scores present. 1 The data for each student are as follows: Score 3 Score 4 63 90 93 93 89 81 85 95 87 95 91 96 89 Student name Albert Einstein Steve Abrew David Nagasake Mike Black Andrew Dijacstra Joanne Nguyen Chris Walljasper Fred Albert Dennis Dudley Leo Rice Fred Flintstone Frances Dupre Dave Light Hua tran Sarah Trapp Score 1 Score 2 52 67 90 86 100 85 81 87 90 82 84 80 86 10 70 68 74 77 95 73 81 82 76 89 76 91 81 83 98 79 81 74 78 79 91 87 94 83 94 93 hint: You might define scoreNode and cast dataPtr as pointer of scoreNODE as follows: typedef struct scoreNode { int count; // count the number of scores the student has int score; //or use float struct scoreNode* link; // pointer to the next scoreNode } scoreNODE

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!