I'm really not sure what you expect the program to do- look through it line by line, and it should become pretty clear what's going on.
You're asking for a number, and regardless of its value...
Type: Posts; User: KevinWorkman
I'm really not sure what you expect the program to do- look through it line by line, and it should become pretty clear what's going on.
You're asking for a number, and regardless of its value...
Without an SSCCE I can only guess at what your code is doing. But in that while loop, I don't see a place where you're asking for user input.
What happened when you tried it?
So you want to ask for different input *while* their input is invalid, right?