#include
int main()
{
char p;
scanf("%c",&p);
if(p>='a' && p<='z' || p>='a' && p<='z')
printf("英文字符\n");
else if(p>='0' && p<='9')
printf("数字字符\n");
else
printf("其他字符\n");
return 0;
}
#include
main()
{
char c;
scanf("%c",&c);
if(c>='A' && c<='Z' || c>='a' && c<='z')
printf("%c is alphabet\n", c);
else if(c>='0' && c<='9')
printf("%c is number\n", c);
else
printf("%c is other character\n", c);
}