The Idea of Iteration
CONCEPT: Iteration is the repeated execution of a series of statements in a program
The basic idea behind iteration is to:
- Repeat a bunch of steps …
- STOP at some point and continue with the rest of the program
To perform iteration, programming languages include special statements often called iteration statements