Three repetition statements (also called looping statements)
Perform statements repeatedly while a loop-continuation condition remains true.
while and for statements perform the action(s) in their bodies zero or more times.
if the loop-continuation condition is initially false, the body will not execute.
The do…while statement performs the action(s) in its body one or more times.
- Fixed Number Repetition while loop.
- Counter-Controlled Repetition
- Sentinel-Controlled Repetition