I wrote an class not long ago to help new users get user input from the command line. You can get it here:
Valid user input.

Create a new class in eclipse called Console.java and copy all the...