Question: Purpose: To review Loops, Multiple-Subscripted Arrays, Functions, Simple File I/O and just to get programming again in C++. This program will read in some quiz

Purpose: To review Loops, Multiple-Subscripted Arrays, Functions, Simple File I/O and just to get programming again in C++.
This program will read in some quiz scores from a file (StudentGrades.dat) a set of students test scores into a 2 dimensional array. After the data is captured, the program will find the highest grade, the lowest grade, and also compute average, for each student. In addition the program will find the highest and lowest score for the entire class and compute average of all the tests for the entire class.
Create a function that will fill the array from file input. o We will put the data file in the same directory (folder) as the .cpp so you do not need to worry about the path within your program o Use StudentGrades.dat for your data file name. You can use the sample file for checkout, although you might want to modify the data in the file (text-based) to check out your work.
Create a separate function for each procedure including loading the data from a file. (Example, loadDataFile, printArray, findAvgStudent, findAvgClass, findMinStudent etc.)
Assume 5 students in the class with 6 tests taken

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!