Repetition ...
If all of the statements of a program were performed at most once, computers would not be very useful
Repeated execution of statements allows programs to Guess a birthday, check through a list, etc.
The most common mechanism of repetition is the “iterative loop,” which has several forms, two of which are available in Basic
- For … allows a specific range to be covered
- Do … is open-ended, continuing until a condition occurs