프로그래밍언어/Java연습1 StudentScore 예제 학생의 이름과 점수를 입력받아 총점, 평균점수를 출력Main 클래스package StudentScore;import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); StudentScore[] score = new StudentScore[3]; for (int i = 0; i > "); String name = sc.next(); System.out.print(i + 1 + "번째 학생의 Java점수를 입력하세요. >> "); int java = sc.nextInt(); System.out.print(i + 1 + "번째 학생의 .. 2024. 6. 14. 이전 1 다음