06 char s[50];. 07 int i=0;. 08 printf("請輸入一個字串(不含空白):");. 09 scanf("%s",s);. 10 while (s[i]!='\0' && i<50). 11 i++;. 12 if (i==50).
確定! 回上一頁