Infinite Loop

By: Dusty Arlia
Published on November 5, 2012
Last Updated on Saturday, July 11, 2015 at 4:39 PM
Total Updates: 2

When working with loops while programming, you have to make sure your loop's condition is being changed with every loop iteration. Eventually your loop's condition should evaluate to false. If it does not, then you have what is known as an infinite loop. Infinite loops are problems that can be fixed by reevaluating the loop's condition and determining what is necessary to change the condition to make it false. Next, insert the correct code in between the curly braces which will eventually make the condition false.

Comments:

Ad: