Displaying a File

Ask the user for the name of a file to open. Open that file, and display the entire contents of the file on the screen.

You must do this a line at a time using nextLine() and a loop that checks hasNext().

Open which file: score.txt
Mitchell
32767




©2017 Graham Mitchell