Nested loops
Nested loops are the loops that are placed within each other.
First loop is called an outer loop and second loop is called an inner loop.
For example it is possible to use nested loops with each cells of a rectangle. One of the loops will be representing horizontal cells, and another loop will represent vertical cells.
Comments
Post a Comment