Final answer:
The C++ program involves using arrays and functions to manage and process student grade data, including calculating individual averages, assigning grades, and computing the class average.
Step-by-step explanation:
The student's question is about writing a C++ program to calculate students' average test scores and their grades. This involves using arrays and functions to read and store data, calculate averages and grades, and output the results. The program also requires calculating the class average for output.
In C++ programming, you will define one one-dimensional array to store the students' names, one two-dimensional array to store test scores parallel to the names array, and one one-dimensional array to store the calculated grades parallel to the other arrays. Functions must be created to perform tasks such as reading data, calculating averages and determining grades, and outputting the results. The average will be calculated by summing the test scores for each student and dividing by the number of tests. The grade can be assigned based on the calculated average as per your grading criteria. Finally, the class average is computed by calculating the mean of all students' averages.