Question: COMPLETE IN JAVA! Problem C ( 25 pts.) Write a program FindtheAverages. java that prompts for a file that stores the scores of each student

COMPLETE IN JAVA!

COMPLETE IN JAVA! Problem C ( 25 pts.) Write a program FindtheAverages.

Problem C ( 25 pts.) Write a program FindtheAverages. java that prompts for a file that stores the scores of each student on three exams. Each student's score is stored on a new line, with the name followed by a comma, followed by three scores separated by commas. The program reads the three scores for each student, computes the average and prints it on the standard output. The program should include code to throw exceptions for any erroneous conditions that may arise with respect to the input file. For example, the input file in. txt may contain the lines: Joy,50,50,50Ecstasy,75,80,85Fantasy,90,95,90 Which produces the following output: Output: Enter the name of the input file: in.txt The averge score for Joy is 50.00 The averge score for Ecstasy is 80.00 The averge score for Fantasy is 91.67

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!