The difference between While and Do While

While is an entry control loop where do while is an exit control loop so Do While loop runs at least once even when the condition is false.
Do While executes the condition one time less than While.

Share