Iteration is also referred to as looping or repetition. Its designed to execute the same block of code again and again until a certain condition is fulfilled.
The three main looping controls are:-
The "WHILE" loop is used if a condition has to be met before the statements within the loop are executed.
The REPEAT....UNTIL loop allows the statements within it to be executed at least once since the condition is tested at the end of the loop.
The FOR loop is used in circumstances where the execution of the chosen statements has to be repeated a predetermined number of times.
Notes and Revisions > Computernotes > ComputerForm3 > 3. ELEMENTARY PROGRAMMING PRINCIPLES > 6. Program Control Structures >