공부/프로그래머스
n의 배수
딸기버블티
2024. 1. 23. 15:22
class Solution {
public int solution(int num, int n) {
return num % n == 0 ? 1 : 0;
}
}