You know what you need to do next, you wrote it down in the first post:
"You will read the input data from an input file scores.txt, and data is in the format (studentID, exam1, exam2 and exam3). Each line of data for one student will be assigned to a struct object.
Consequently, you will need an array of structs to store all the data read from the input file. This will be a 1-dimensional array.
Your are required to calculate and display the following statistics for each exam. The statistics to be shown will be the:
- lowest score.
- highest score.
- average score rounded to 2 decimal place.
- standard deviation rounded to 2 decimal place.
"
That is what you need to do.