例: 輸入任意字串,計數數字、空白、新行(new line)、跳格(Tab)的個數: ... printf("輸入資料:");. while((c=getchar()) != EOF). switch(c){. case '0':. case '1':.
確定! 回上一頁