본문 바로가기

코딩테스트 예제

프로그래머스 아이스아메리카노 예제

class Solution {
    public int[] solution(int money) {
        int[] answer = {money/5500,money%5500};
        return answer;
    }
}