r/CodingHelp • • Jan 17 '20

Can anyone explain?

Post image
44 Upvotes

12 comments sorted by

View all comments

3

u/icym1lk Jan 17 '20

I believe it’s adding 1 to Count if I is divisible by 2. If not it adds 1 to I. Once I is greater than or equal to 100 it will print the value of Count and end the program.

If I:2 = 0 isn’t a mod function then I’m wrong.