I have a program that reads user input as such:
char c; scanf("%c", &c);
and then checks if it is a digit:
if(is