Question
Write a C or C++ program that reads a file (students.txt) which contains names of students. It then creates a linked list of students. Each
Write a C or C++ program that reads a file (students.txt) which contains names of students. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started