You are viewing a single comment's thread from:

RE: Introducing the Coding Challenge

in #coding-challenge7 years ago

Only comment I have is the question asked for 0 to 100 but the solutions are for 1..100. How does either solution work for 0? Dealing with 0 shouldn't be too difficult, though 0/x is going to be 0 and 0 mod x is also 0. I guess it will/should print FizzBuzz for n=0.

Sort:  

True his solution starts at 1, good catch, here is a tip! But yeah it will work with 0, pretty sure.

Hi @ratticus! You have just received a 0.5 SBD tip from @reggaemuffin!


@tipU quick guide | How to check your pending payouts.

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.029
BTC 61399.54
ETH 3383.74
USDT 1.00
SBD 2.50