You could use a while loop. Considering your specs, I assume you want to keep prompting, even if the user enters something other than a number? If so, you would want to put the entire try/catch block...