0
6 % 3!=0 ?
FizzBuzz
11 ответов
+ 6
If you're talking about one of the code coaches here, I think it only meant to display odd numbers...
+ 1
No!
6%3==0
+ 1
Bruh thats not what the statement is.. Guess it again
0
Code coach pushes your code through different cases and look at output. All of them must match to expected ones
- 1
And why in FizzBuzz no?
- 1
I mean in FizzBuzz problem when n=6 it should print 'Solo'
- 1
Yes, i am talking about this, great answer. Thanks Dik
- 1
I have solved it.
- 1
But my solution works only on PC not in code coach here. May be tomorrow.
- 1
Guys, i have just solved it! So easy. As Kuba wrote: only odd numbres, so 6 is even. That means it was neccesary first control odd/even and then if is%3.
- 1
False