c语言 数组下标int c,i,nwhite,nother;\x05int ndigit[10];\x05\x05nwhite = nother = 0;\x05for (i = 0; i < 10; ++i)\x05\x05ndigit[i] = 0;\x05\x05\x05while ((c = getchar()) = EOF)\x05\x05if (c >= '0' && c

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/12 07:15:41
c语言 数组下标int c,i,nwhite,nother;\x05int ndigit[10];\x05\x05nwhite = nother = 0;\x05for (i = 0; i < 10; ++i)\x05\x05ndigit[i] = 0;\x05\x05\x05while ((c = getchar()) = EOF)\x05\x05if (c >= '0' && c

c语言 数组下标int c,i,nwhite,nother;\x05int ndigit[10];\x05\x05nwhite = nother = 0;\x05for (i = 0; i < 10; ++i)\x05\x05ndigit[i] = 0;\x05\x05\x05while ((c = getchar()) = EOF)\x05\x05if (c >= '0' && c
c语言 数组下标
int c,i,nwhite,nother;
\x05int ndigit[10];
\x05
\x05nwhite = nother = 0;
\x05for (i = 0; i < 10; ++i)
\x05\x05ndigit[i] = 0;
\x05\x05
\x05while ((c = getchar()) = EOF)
\x05\x05if (c >= '0' && c

c语言 数组下标int c,i,nwhite,nother;\x05int ndigit[10];\x05\x05nwhite = nother = 0;\x05for (i = 0; i < 10; ++i)\x05\x05ndigit[i] = 0;\x05\x05\x05while ((c = getchar()) = EOF)\x05\x05if (c >= '0' && c
'0'的ASCII值是48,字符c减去'0'得到相应的数字,如'1'-'0'得1