Prompt added

added a prompt for a number and check if user input a number.