Because this is just a simple example, this script doesn't test the situation where the user enters letters instead of numbers. Here you should just experiment with numbers, negative, positive and non whole, inside or outside the range.


Please enter a number between 1 and 10: