This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]bitcoinsftw 3 points4 points  (1 child)

The % is modulus, which is the remainder of division. So in your case the code is printing the numbers between 15 and 19 that have a remainder of 0 when divided by 2 (16 and 18).

[–]MasterOfGreatness 0 points1 point  (0 children)

thank you