What are the variables that control the loop?
Where does the code change the value in that variable to allow the loop to exit?
You need to change the variable's value to exit the loop.

If you...