I have a program that requires the user to type in a number to do a conversion. Problem is that if they user types in string, the program goes into an infinite loop. How do I test to make sure the user is only entering numbers without it going haywire?