[Java] 학생들의 최고 점수/최저 점수
public static void main(String[] args) { Scanner sc = new Scanner(System.in); String student[][] = {// 국어 영어 수학 { "홍길동", "1999-01-23", "100", "90", "75" }, { "성춘향", "2010-07-04", "90", "100", "95" }, { "일지매", "2001-03-05", "85", "95", "100" }, }; // 각 학생들의 국어, 영어, 수학을 합친 총점은? 개개인의 총점 int sum[] = new int[student.length]; int temp;// 1명분에 대한 성적의 합계 for (int j = 0; j < student.length; j++) { temp =..
2022. 5. 17.