I need a C++ program that does the following. Assume that the maximum number of
ID: 3686461 • Letter: I
Question
I need a C++ program that does the following. Assume that the maximum number of students in a class is 50. Write a program that reads students' names followed by their test scores from a file:
Johnson 76
Miller 90
Duffy 95
Robinson 45
Ashtony 63
Goofy 89
Pluto 95
Mickey 72
Billy 76
Danny 56
Balto 95
Roony 87
Doc 67
Minne 95
Duckey 72
Andy 76
and outputs the following:
a. Class average.
b. Names of all the students whose test scores are below the class average, with an appropriate message.
c. Highest test score and the names of all of the students having the highest score.
Explanation / Answer
#include #include class student { int roll; char name[25]; char add [25]; char *city; public: student() { cout>sub3; } void output() { putdata(); coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.