Question
//please use c++ 1) Write a program that reads an input file called students.txt. Inside the file will be student names, and 4 quiz scores
//please use c++
1) Write a program that reads an input file called students.txt. Inside the file will be student names, and 4 quiz scores 2) For each student, read the names and scores. Drop the lowest of the quiz scores and calculate the student's average of the remaining scores. For example: If Elizabeth has scores of 84, 70, 65, 95 the score of 65 would be dropped and her average would be found from the scores of 84, 70, and 95 Create an output file that list the names and average for each student. Include at the end of the file, the average of the class and the name and score of the student who has the highest score.
Andrianna Atkins 60 76 80 78
Kim Nguyen 79 63 93 80
Farzad Assadi 68 65 70 75
Layla Michaels 76 78 82 88
John Garcia 90 87 93 89
Ryan McAdams 87 84 82 80
Veronica Torres 88 76 96 90
Ravi Patel 75 68 83 85
Satoshi Nakamura 86 98 87 92
Alice Wong 47 76 64 70
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