You are viewing a single comment's thread from:

RE: A question for fun to you guys

in #code7 years ago

I believe it's b for the first one because the check will happen when i = 0, and then the i will increment to 1, so the loop will return false from the first run.

For the second one its d because the i will always be => 1 and anything >0 in c is considered true.
Very good problem, I hope I got it right!

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 68754.67
ETH 2469.20
USDT 1.00
SBD 2.37