open_in_new
content_copy
public bool IsDivisible(int x, int n) { return (x % n) == 0; }