Input that accepts only integers

Prompt for input that accepts only one data type.

For this case, make it so that it accepts only numbers.

You may want to use the following functions: str2num() isnumber()


Example:

Enter a number: