Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ test score. class has 20 students. The array should be 20 elements long. Try to use exception handling in the event invalid data is
C++
test score. class has 20 students. The array should be 20 elements long. Try to use exception handling in the event invalid data is found while reading the data file. Your program must contain at least the following functions: - A function to read the students' data into the structure array from a data file - A function to assign the relevant grade to each student. - A function to find the highest test score. - A function to print the names of the students having the highest test score. opening the input and output files, the function main should only be a collection of function calls. You create your test data text file but it should be no more than 20 rows of data which have 2 names and a test score. It may look something like thisStep 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