Problem 1, loop will run 100 times with i value running from 0 to 99.
Problem 2, loop will run 99 times with i value running from 1 to 99.
The point made by fanouropittas that value >0 are true has no bearing unless the third argument to the "for" where written as ", i )".
You are viewing a single comment's thread from:
Wrong answer :)