백준 4344번 자바1 [백준/JAVA] 4344번 평균은 넘겠지 import java.util.Scanner;import java.util.Stack; public class Main {public static void main(String args[]) {Scanner in = new Scanner(System.in);int lineCount = in.nextInt();for (int i = 0; i < lineCount; i++) {int studentC = in.nextInt();int[] arr = new int[studentC];double sum = 0;double average=0;double per = 0;int resultC=0;for (int j = 0; j < studentC; j++) {arr[j] = in.nextInt();sum += arr[.. 2020. 7. 23. 이전 1 다음