Prog#035: Digit or not

/* 
Program#35
Digit or not
*/

#include <stdio.h>
main(){
char a;
printf("\nEnter a character :");
scanf("%c",&a);
if(a>=48 && a<=57)
printf("\n%c is a Digit\n",a);
else
printf("\n%c is Not a Digit\n",a);
}