Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions