4 ms·
I think the point was that you do If n%15==0 First, then the others. But it’s a pedantic point anyway (like this one)
by jackweirdy 9y ago
I think the point was that you do
If n%15==0
First, then the others. But it’s a pedantic point anyway (like this one)
- sk0g 9y agoOr you can print fizz and buzz in independent statements, or it against printing the raw number, and then print a new line for each number in the end.