I have an application which gets 10 different numbers (which are less than 100) as input. If any thing other than number is entered, it should display "Invalid input"
ex: If I enter 'C' which is not a number between 1 to 100, Program should display "Invalid input"
I don't want to compare the input with all the characters and special symbols
If the number is a single digit number, isdigit() or isalpha() does the job.
How can I solve this?