Add a While-Do or a Do-While
The instructions defined in the loop are re-executed until the condition becomes false.
- For a While-Do, the test on the condition is done at the beginning of the loop. That means that the set of instructions defined in the loop is never executed if the condition is false.
- For a Do-While, the test on the condition is done at the end of the loop. That means that the set of instructions defined in the loop is executed at least once.