Description
Introduction to Programming
with Java
Class: RandomFileRead.java
Score: (Easy)
Description:
Write a program which takes the name of text file as input and prints 10 randomly chosen lines of this file in the console.
Sample Run:
0: The Lord of the Rings: The Return of the King
1: Going My Way
2: An American in Paris
3: Cavalcade
4: Driving Miss Daisy
5: Chariots of Fire
6: Chariots of Fire
7: All About Eve
8: Dances with Wolves
9: The Godfather, Part II




Reviews
There are no reviews yet.