for(int j=1;j<10;j++){ System.out.println(i + " * " + j + " = " + i * j); } }. while迴圈. 另外一種迴圈多半用在不確定迴圈要執行的次數時,寫法如下:
確定! 回上一頁