문제 설명

솔루션
class Solution {
public int solution(int[] numbers) {
int answer = 45;
for (int n : numbers) {
answer -= n;
}
return answer;
}
}'java' 카테고리의 다른 글
| JAVA 프로그래머스 최댓값과 최솟값 (0) | 2024.08.10 |
|---|---|
| [프로그래머스 - 자바] 핸드폰 번호 가리기 (0) | 2023.09.19 |
| [프로그래머스 - 자바] 음양 더하기 (0) | 2023.09.19 |
| [프로그래머스 - 자바] 나누어 떨어지는 숫자 배열 (0) | 2023.09.19 |
| [프로그래머스 - 자바] 콜라츠 추측 (0) | 2023.09.19 |