1
-
When you want to loop through code indefinitely.
-
When you know how many times you want to loop through code.
-
When you need to check if a condition is not met.
-
When you need to check if a condition is met.