日期:2014-05-20 浏览次数:20787 次
System.out.println("你要录入的学生数量是:"); int stuCount = scanner.nextInt(); double[] grade = new double[stuCount]; int i = 0; while(i<stuCount){ System.out.println("输入学生"+i+"的分数:"); grade[i++] = scanner.nextDouble() } // 排序