Question: Write a C or C++ program that read a list of students from a file and creates a general list of students. Each entry in

Write a C or C++ program that read a list of students from a file and creates a general list of students. Each entry in the list is to have a student name, final average, and a pointer to the next student record. Program initializes the student list by reading the students name from the text file and creating null scores for the final average. After building the list, it loops through the list, prompting user to enter the final average for each student. Then, it writes the complete list back to the text file. You can print the content of the file to verify if the file content is correct.
 Write a C or C++ program that read a list of
students from a file and creates a general list of students. Each

Here is an example of content of an input file (you can assume that each student name is separated by a newline) John William Nick Woodlands Sherry Barnett Read each name and build the linked list as shown below Sherry Barnett John William Nick woodlands

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!