The program named NestedCounterLoop01
This program uses an entry-condition for loop structure to illustrate both counter loops and nested loops.
What is a counter loop?
The name counter loop results from the fact that a loop of this type runs an incremental counter and continues looping until the value of the counter reaches a pre-specified limit.
What is a nested loop?
The name nested loop results from the fact that it consists of two or more loop structures nested inside one another.
This program consists of one for loop nested inside another for loop. Each of the for loops run an incremental counter and use the value of the counter to determine when to stop looping.