- Setting and initialization of a condition variable.
- Execution of the statements of the loop.
- Test for a specified value of the condition variable for execution of the loop.
- Increasing or updating the condition variable.
The above given steps may come at any order depending on the type of the loop.