what error do you see? Please post the whole error message.
The Scanner#next() method returns a String when you want to get an int, and that won't work for you.
Scanner has a better method for...
Type: Posts; User: curmudgeon
what error do you see? Please post the whole error message.
The Scanner#next() method returns a String when you want to get an int, and that won't work for you.
Scanner has a better method for...
Sure. Why not simply get the user's input and then have your loop code immediately after you get the user's input. Where exactly are you stuck?