본문 바로가기
(문제풀이)

프로그래머스(java) : 아이스 아메리카노

by cogito-new 2022. 10. 10.

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