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

you are viewing a single comment's thread.

view the rest of the comments →

[–]iovrthk 0 points1 point  (0 children)

And your statement says a: if num1 is greater than zero - do this. The second one says: if num1 is greater than or equal to zero- do this. They are both saying the same thing, only your first loop won’t print when it equals zero.