What's up with infinite loops?

Infinite loops occur when run conditions don't become falseA for loop's control variable has to grow or shrink beyond a threshold to avoid itIn every loop, the run condition should stay trueInfinite loops are very useful

Nice! We can avoid infinite loops by making sure a while loop's run condition becomes false and a for loop's control variable grows or shrinks beyond a threshold.

Not quite! We can avoid infinite loops by making sure a while loop's run condition becomes false and a for loop's control variable grows or shrinks beyond a threshold.