編寫程序,對用戶輸入的n個整數,統計其最大數、最小數和平均值

package test; import java.util.*; public class test_2_6 { public static void main(String[] args) { System.out.println("你須要輸入幾個數?"); Scanner input=new Scanner(System.in); int n=input.nextInt()
相關文章
相關標籤/搜索