我們先來看看while 迴圈的寫法 int i = 10 // 設定控制變數 while (i > 0) { // 迴圈工作區 cout << i << endl; i--; // 調整控制變數值 }. 這個迴圈所進行的工作很 ...
確定! 回上一頁