3 ms·
Even if you're unfamiliar with the modulus operator, it's not that hard to test divisibility. C and sufficiently similar: x == k*(int)(x/k)
by dllthomas 12y ago
Even if you're unfamiliar with the modulus operator, it's not that hard to test divisibility.
C and sufficiently similar: x == k*(int)(x/k)