Objective: To get experience using streams and parsing files in Java
Due: Before class on Monday. However, you should attempt to start the assignment before Friday.
Modify your Olympic Score generator so that the difficulty and execution scores come from the user.
From the user (the console), find out what the difficult score is
and the name of the file that contains the judges' execution scores.
(Reminder: Look at the API for Scanner
.) To simplify
your life, in your program, you can assume a directory where the files
are so that the user just has to enter the file name.
Parse the execution scores from the file. Your program should handle if there are less than 6 scores in the file appropriately. (Are there any other special cases that you should handle?)
Use methods as appropriate to organize your code.
Copy your code and execution scores files into an assign7
directory in your turnin
directory.
You will be evaluated based on the following criteria: