Skip to content

Instantly share code, notes, and snippets.

@pepet96
Created January 31, 2014 15:05
Show Gist options
  • Save pepet96/8733717 to your computer and use it in GitHub Desktop.
Save pepet96/8733717 to your computer and use it in GitHub Desktop.
import java.util.Scanner;
public class multipletrue {
public static void main (String [] args) {
Scanner input = new Scanner(System.in);
int a = input.nextInt();
int b = input.nextInt();
System.out.println(multipleNumber(a,b));
}
public static boolean multipleNumber (int a, int b) {
return b%a==0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment