프로그래머스/Lv.0

[프로그래머스 C#] 아이스 아메리카노

suniverse 2023. 7. 24. 21:10

 

 

using System;

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