When you want to perform an action over and over, like processing a record or doing some computations.
What type? It’s all based on a condition being met. It may be the length of a sentence, and doing something with each character. Or it may be counting down a number to zero.
When that condition is met, then the loop terminates and processing continues.
Latest Answers