此範例利用了scanf()函式的回傳值來停止輸入動作。 While敘述 ... while. 成立. 問題. index =10;. while(index++<5) ... 測試離去條件的迴圈:do…while.
確定! 回上一頁