Loop using for statements

Try again.

The initialization, the test, and the update are the three crucial manipulations of a loop variable; the for statement makes these three steps an explicit part of the loop:
for (initialize ; test ; increment)
statement