Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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!
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.67Step 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