![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbRPnum%2FbtqRt6W0wYD%2F6zm5efAiR8Y8VylDySWlWk%2Fimg.png)
[프로그래머스,Level 1] 평균 구하기(JAVA 구현)
·
CodingTest/프로그래머스(Programmers)
- 첫 풀이 및 정답풀이 class Solution { public double solution(int[] arr) { double answer = 0; int sum = 0; // 1. 모든 원소 합. for(int i = 0; i