Page 11 - Looping by Johannes Alexander
P. 11
For Loop
initialization: one or more statements which are executed
only one time in the beginning of the iteration.The
counter/iterator usually initialize in the initialization
condition: decide whether the block statement will be
executed or not. If the expression returns false, then the
whole for statement is terminated and the program will
evaluate the next statement.
updater: statement which is executed after the block
statement is executed. The counter/iterator’s value usually
updated in the updater