Check if a number is divisible by 3 [closed]
There’s a fairly well-known trick for determining whether a number is a multiple of 11, by alternately adding and subtracting its decimal digits. If the number you get at the end is a multiple of 11, then the number you started out with is also a multiple of 11: 47278 4 – 7 + 2 … Read more