| the frist keyboard.nextLine() will be ignored when it follows a keyboard.nextInt()
You could request a dummy keyboard.nextLine() to clear the buffer of the newline.
The else if (choice >1 || choice <4 ) statement is incorrect and will always be true.
Last edited by Hachima : 10-24-2007 at 07:29 PM.
|