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)
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.