#include<stdio.h>
int main()
{int i=0;
char c;
while(i<4)
{
printf("Input Something:");
c=getchar();
if((c>='0')&&(c<='9'))
printf("a numerical character\n");
if((c>='a')&&(c<='z')||(c>='A')&&(c<='Z'))
printf("other character\n");
i++;
while((c=getchar())!='\n');
}
return 0;
}
int main()
{int i=0;
char c;
while(i<4)
{
printf("Input Something:");
c=getchar();
if((c>='0')&&(c<='9'))
printf("a numerical character\n");
if((c>='a')&&(c<='z')||(c>='A')&&(c<='Z'))
printf("other character\n");
i++;
while((c=getchar())!='\n');
}
return 0;
}