输入一个字符串(换行为结束标志)统计其中数字(0,1,2,。。。,9不单独统计)空白和其它字符出现的次数

C语言程序补充填空题,请知道的帮助一下,谢谢!
#include"stdio.h"
main()
{ char c;
int__________;
while((getchar())!='\n')
{
if (__________)digit++;
else if (c="||c='\t')++blank;
else if (c==32) s++;
else_______;
}
printf(digit=%d,other=%d\n",digit,blank,other);
}

1 s,blank,other,digit
2 '0'<=c && c<='9'
3 other++
温馨提示:答案为网友推荐,仅供参考
相似回答