This is the, I am trying to validate a user input whether it is a number or in a given range, but every time it\'s not in the range or its a word, it creates a n