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;
}
}
'프로그래머스 > Lv.0' 카테고리의 다른 글
[프로그래머스 C#] 자릿수 더하기 (0) | 2023.07.25 |
---|---|
[프로그래머스 C#] 피자 나눠 먹기(1) (0) | 2023.07.24 |
[프로그래머스 C#] (0) | 2023.07.23 |
[프로그래머스 C#] 편지 (0) | 2023.07.23 |
[프로그래머스 C#] 문자열 뒤집기 (0) | 2023.07.20 |