|
|
|
|
|
|
|
|
|
|
|
|
|
|
The
most important features of loops:
|
|
|
|
• |
The starting value of the iteration variable
|
|
|
|
• |
The ending value of the iteration variable
|
|
|
|
• |
The amount the iteration variable changes
|
|
|
|
* |
As explained in the book, it is possible
|
|
|
to completely control these features by
|
|
properly setting the “control trio,” but
|
|
|
|
programmers have gotten
in the habit
|
|
|
of writing a single kind of iteration: WFI
|
|