Question: c++ using two different methods and explained code Student Grade Statistics Each semester 3 exams are taken by each student. Create functions to determine the
c++
using two different methods and explained code

Student Grade Statistics Each semester 3 exams are taken by each student. Create functions to determine the class average, highest grade and lowest grade for each exam. The requirements are - 1) Create a function to read in 3 grades for each student. A 2D array int stuGrades [MAX_STUDENTS] [TOTAL_TESTS] must be used to hold all the grades for each exam for all the students, where MAX_STUDENTS and TOTAL_TESTS are defined as - const int MAX_STUDENTS=24; //max students allowed const int TOTAL TESTS=3; 2) Create a function to print out students' grades. 3) Create a function to determine the class average, highest grade and lowest grade for each exam. 4) Create a function to print out the results for each test. The following functions should be defined/implemented and called in main() void readStuGrades (int stuGrades [] [TOTAL_TESTS], int &numStu); //make sure to validate each grade. Grade must be in between 0 and 100. void printStuGrades (int stuGrades [] [TOTAL_TESTS], int numStu); void getExamAvgMinMaxGrade (int stuGrades [] [TOTAL_TESTS], int numStu, int exam, float xavg, int& low, int& high); void printExamStatistics (int exam, float avg, int low, int high)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
