[수도코드]시험 본 과목 개수 N 입력받기길이가 N인 1차원 배열 score[] 선언for(N만 반복){score[i]에 점수 저장}for(score[] 길이만큼 반복){최댓값 max 찾기sum 저}새로운 평균인 sum/M*100/N 출력 import java.util.Scanner;public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int score[] = new int[N]; for(int i = 0; i *소수점 나와야하니까 max, sum을 double로 선언하기 ..