Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 374 Bytes

File metadata and controls

17 lines (13 loc) · 374 Bytes

프로그래머스 Level1 : 월간 코드 챌린지 시즌3 없는 숫자 더하기

 class Solution {
    public int solution(int[] numbers) {
        int answer = 45;
        
        for(int num:numbers){
            answer -= num;
        }
        return answer;
    }
}