输入一个字符,判断该字符是数字、字母、空格还是其他字符。
main( )
{ char ch;
ch=getchar();
if( )
printf("It is an English character\n");
else if( )
printf("It is a digit character\n");
else if( )
printf("It is a space character\n");
printf("It is other character\n");
}
登录后提交答案