[求助]编写一个程序,统计字母、数字等符号的个数。
编写一个程序,要求用户输入一个字符序列后,分别统计出字母、数字、空白符和其他字符的个数。

问你一下,isalpha()和isdigit()作用是什么啊
#include <ctype.h>
int isalpha( int ch );
功能:如果参数是字母字符,函数返回非零值,否则返回零值。
例如:
char c;
scanf( "%c", &c );
if( isalpha(c) )
printf( "You entered a letter of the alphabet\n" );
int isdigit( int ch );
功能:如果参数是0到9之间的数字字符,函数返回非零值,否则返回零值.
例如:
char c;
scanf( "%c", &c );
if( isdigit(c) )
printf( "You entered the digit %c\n", c );