본문 바로가기
JAVA 코딩 알고리즘 연습/프로그래머스

프로그래머스 - 아이스 아메리카노 / JAVA (자바) 코딩 알고리즘 연습

by easpop 2023. 2. 8.
728x90
반응형

반응형
class Solution {
    public int[] solution(int money) {
        int[] answer = new int[2];
		answer[0] = money / 5500;
		answer[1] = money % 5500;
        return answer;
    }
}
728x90
반응형

댓글