#include
#include
main()
{
long int ch;
printf("Enter any characher=");
scanf("%d",&ch);
if(ch>=0 && ch<=9999)
printf("The entered number is numerical");
else
printf("The entered number is character");
fflush(stdin);
getchar();
}
#include
main()
{
long int ch;
printf("Enter any characher=");
scanf("%d",&ch);
if(ch>=0 && ch<=9999)
printf("The entered number is numerical");
else
printf("The entered number is character");
fflush(stdin);
getchar();
}
0 comments:
Post a Comment