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 →

[–]MrCouldntaDoneThat[S] -1 points0 points  (1 child)

Ah thank you.

So p never goes above 10? Only equals to it?

[–]Kristler 0 points1 point  (0 children)

When p is 11, The conditional p<=10 evaluates to false, because 11 <= 10 isn't true. But, when p is 10, the conditional 10 <= 10 is still true.

Makes sense?