728x90
SMALL

public class Solution {
    public double solution(int[] arr) {
        double answer = 0;
        
        for(int i =0;i<arr.Length;i++)
        {
            answer += arr[i];
        }
        
        return answer/arr.Length;
    }
}

728x90

설정

트랙백

댓글