FOR x ← 1 TO 10 FOR y ← 1 TO 10 result ← y * x OUTPUT y + " * " + x + " = " + result ENDFOR ENDFOR For every iteration of x, y is iterated ten times. Nested iteration isn't limited to FOR loops.
We can place the instructions we want to repeat inside a loop. You may want to repeat the instruction for a set number of times (FOR loop) or until a condition is met (WHILE loop). FOR loops are ...