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

c++ using two different methods and explained code Student Grade Statistics Each

semester 3 exams are taken by each student. Create functions to determine

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); STUDENT GRADE STATISTICS Please enter 3 integer grades below. 109 299 300 Invalid grade(s). Please re-enter. Please enter 3 integer grades (0-100% below. F1 100 100 Invalid grade(s). Please re-enter. Please enter 3 integer grades (0-100% below. 70 80 90 More student? Enter 'Y' or 'y' to continue or any letter to exit. Y Please enter 3 integer grades (0-100> below. 65 75 85 More student? Enter 'Y' or 'y' to continue or any letter to exit. y 88 Please enter 3 integer grades (8-100> below. 27 More student? Enter 'Y' or 'y' to continue or any letter to exit. 66 3 Student Exam 1 Exam2 Exam3 70 65 88 80 75 77 90 85 66 Exam AUG LOW HIGH 24.33 77.33 80.33 65 75 66 88 80 90 EXIT PROGRAM. GOOD BYE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!