在java中,若需要由使用者輸入一些東西以供程式使用,首先必須新增一個Scanner來讀取: ... int, int input = sc.nextInt(); ... double, double input = sc.
確定! 回上一頁