This lab will give you practice using the
String
class
we developed
in lecture (as well as some more help with randomness and files).
Allow the user the choice of displaying either a random line or a random word from a file they specify. Your menu should allow them to choose these options either from the number of the option or from the capitalized letter. For example,
1) display random Word 2) display random Line 3) Quit
Should allow the user to select a random line display by either entering the number 2 or by entering a letter L (lower or upper case!).
This assignment is (Level 2).