nextInt(); //a是總數for(b=1;b<=a;b++) { //a當範圍System.out.printf("請輸入第%d個數",b); //要讓a個數逐一輸入,故配合for迴圈使用c=input.
確定! 回上一頁