[프로그래머스]n의 배수

박예림·2023년 5월 25일
0

코테

목록 보기
92/132

class Solution {
    public int solution(int num, int n) {
        int answer = 0;
        
        if(num%n == 0) {
            return 1;
        }
        
        return 0;
    }
}
profile
응애 나 아기개발자

0개의 댓글