do ... while Loop is exit controlled loop. In this loop, the codes inside the do will be executed first and then the condition in while is checked. Here's the syntax of do ... while Loop.