The Flow chart of do while loop with variables

do while loop is a control flow statement used in most programming languages. In most languages it is used as:

General Syntax

do {
execute_Work();
} while (Condition)

flow chart of do while loop

First, the instruction set within the block is executed, and then the condition is checked. If the condition is true the code within the block is executed again. This repeats until the condition becomes false.