class Solution { public int solution(int num, int n) { int answer = 0; if(num%n == 0) { return 1; } return 0; } }