... 記得有input前面要import java.util.Scanner; f = input.nextInt(); // f=學生總人數//有f位學生,要讓每位都能input 1or2,所以要搭配for迴圈跑 ...
確定! 回上一頁