Question: Write a C program to read a list of students from a file and create a list. The program should use a linked list for
Write a C 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 students 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 structure is shown
The program should initialize the student list by reading the students names from the text file and creating null score lists. 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 student along with the score total and the average score. The average should include only those scores present.
Students Albert Einstein- | 52 67 Steve Abrew Sarah Trapp Students Albert Einstein- | 52 67 Steve Abrew Sarah Trapp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
