Skip to content

Instantly share code, notes, and snippets.

@abbath0767
Created February 25, 2016 10:23
Show Gist options
  • Save abbath0767/1beca7482b9c9a86c0e3 to your computer and use it in GitHub Desktop.
Save abbath0767/1beca7482b9c9a86c0e3 to your computer and use it in GitHub Desktop.
public class DivisibleNb {
public static Boolean isDivisible(long n, long x, long y) {
return (n % x == 0 && n % y == 0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment