Question: please, fix my code, my code is not running. i am attaching my code. please fix my code and show me the output. i am
please, fix my code, my code is not running. i am attaching my code. please fix my code and show me the output. i am attaching the sample output of what i need. please do not copy and paste from chegg. i have given my code 2 times before and both of them just copied and pasted the answers, which both were wrong. please fix this time. i think my grades.h file is ok, modify my main.cpp file and show me the output also.





Enter 'A' to enter test scores via user prompt, or 'B' to read from external file: A Enter the number of Students: 2 Enter name of student 1: John Doe Enter test score 1 of John Doe: 80 Enter test score 2 of John Doe: 75 Enter test score 3 of John Doe: 85 Enter test score 4 of John Doe: 90 Enter test score 5 of John Doe: 92 Enter name of student 2: Jane Smith Enter test score 1 of Jane Smith: 70 Enter test score 2 of Jane Smith: 65 Enter test score 3 of Jane Smith: 75 Enter test score 4 of Jane Smith: 80 Enter test score 5 of Jane Smith: 82 ------ Class Statistics Average score for Test 1: 75.00 Average score for Test 2: 70.00 Average score for Test 3: 80.00 Average score for Test 4: 85.00 Average score for Test 5: 87.00 Number of students in the class: 2 Class Average: 79.40 Maximum Test Score: 92.00 Minimum Test Score: 65.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
