By Java convention, class names begin with capital letters.

'print' is a lousy name for a variable.

Use an instance of Scanner to get the user's input from the keyboard. There are several...