Hi Guys,
I was attempting WhizLabs Objective 2 questions. There was this particular question about for loops, but what stumped me was the modulus operator.
I think the answer for 1%2 should be 0. However the correct answer to this question implies it should be 1. How is that so? Hope somebody can explain, thanks.
https://dl.dropboxusercontent.com/u/38167918/Computing/OCPJP/WhizLabs/Objective2/Q7.JPG
regards
John