Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started