/* 统计字符串中数字字符的个数 */ #include<stdio.h> int main(void) { int count,i; char str[80]; printf("Enter a string:"); i=0; while((str[i]=getchar( ))!=' ') i++; str[i]='