10
Jan 17 '20
I guess that I:2=0 is actually mod 2, so for every time I is even, Count increases. So The final print Count should display 50
2
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.
2
u/SupremeRedditBot Professional Bot || Mod Jan 17 '20
Please Add A Flair To Your Post!
Suggested Flair: [Random] or [Meta]
To add a flair:
Click
flairunderneath your postSelect a flair
Click
save
I am a bot run by /u/SupremeDesigner for /r/CodingHelp || This was an automated ^response
2
1
13
u/[deleted] Jan 17 '20