程序功能:输入一个字符,判断该字符是数字、字母、空格还是其他字符。 #include main( ) { char ch; ch=getchar(); if( ) printf("It is an English character\n"); else if( ) printf("It is a digit character\n"); else if ( ch== ‘ ’ ) printf("It is a space character\n"); else printf("It is other character\n"); }