2 ms·
Or you take the number, divide it by 3, round down, multiply by 3, and if it's the same as the original, you print Fizz. Same effect as the modulo operator, but
by mcv 12y ago
Or you take the number, divide it by 3, round down, multiply by 3, and if it's the same as the original, you print Fizz. Same effect as the modulo operator, but without the modulo operator.