Repetition --> one or more instruction repeated for certain amount of time
- For
- While
- Do While
For (exp1, exp2, exp3)
Exp1 --> initialization
Exp2 --> conditional
Exp3 --> increment or decrement
Infinite loop => "for-loop"
- remove parameters (exp1, exp2, exp3)
- end loop -> break (ctrl + c)
Nested loop => loop in a loop
- for dalam for