코딩테스트/[C#] 프로그래머스
[프로그래머스 | Lv.0] 아이스아메리카노
냠냠쿠
2023. 8. 13. 19:22
728x90
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;
}
}
728x90