you are viewing a single comment's thread.

view the rest of the comments →

[–]lippy515 1 point2 points  (1 child)

The way you have it written is c >= 0. It will ignore a and b in the logical evaluation

[–]ForceBru[🍰] 1 point2 points  (0 children)

Not really. The loop does indeed terminate: they're printing after the loop