Question: In C++ Write a C++ program that reads a file (students.txt) which contains names of students(separated by a newline). It then creates a linked list
In C++
Write a C++ program that reads a file (students.txt) which contains names of students(separated by a newline). It then creates a linked list of students. Each entry in the list must contain the student name, the final average, and a pointer to the next student record. The program initializes the list by first reading the students names from the text file and setting the final grades to 0.00. After building the list, the program then loops through it and prompts the user to enter the final average for each student. Finally, the program then writes all the information to another file (output.txt)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
