The counter update clause
(Display Figure 6.)
Appears after the second semicolon and before the closing parentheses.
There are two different versions of this clause available.
The version shown in Figure 6 uses an increment operator.
It adds a value of one to the counter variable before transferring control back to the conditional clause for the next test.