for (
i
=
lower
;
i
<=
upper
;
i
++)
command
While the value of variable i
is in the range between
lower
and upper
, do command
. A series of commands
must be put within braces. <= or any relational operator can be
used; ++ or -- can be used to increment or decrement the variable.