Repetition - Iteration (continued)
Repeat-until loop will repeat until a condition goes true
C: repetition always loops while a condition is true, and exits the loop when the condition goes false
Three aspects of controlling a loop:
- initializing, modifying, testing
- if not managed properly, program may loop forever (Ctrl z, Ctrl Break, Ctrl Alt Delete ...)