The iteration continues until the condition test result is FALSE, at which point the loop ends and the program executes the next line of code in sequence after the loop. Because the condition is ...
Using count-controlled iteration can lead to fewer programming errors and more flexible programs. As can be seen above, using iteration makes a program simpler, less error-prone and more flexible.