[프로그래머스 | Lv.0] 아이스아메리카노

이승민·2023년 7월 24일
0

프로그래머스

목록 보기
5/27

https://school.programmers.co.kr/learn/courses/30/lessons/120819

📝 나의 풀이

using System;

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

0개의 댓글

관련 채용 정보