Question: Write a program (named Gradebook.java) that reads the final grades for a class. The final grades are saved in a data file. After reading in
Write a program (named Gradebook.java) that reads the final grades for a class. The final grades are saved in a data file. After reading in the data, calculate average grade for the whole class, find the lowest and highest, then printout the 3 numbers in a nice format. A sample data file (gradebook.txt) and output are given for testing purpose. Data file: 86 89 78 100 76 Sample output: Average: 87.80 Lowest: 76.00 Highest: 100.00
It will be automatically graded. Here is a sample output:
Average: 85.80 Lowest: 76.00 Highest: 100.00
gradebook.txt
86 89 78 100 76 88 91 100 78
89
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
