Do-while - syntax
Use this control structure:
When a loop needs to be executed at least once.
When the testing of the conditions needs to be done at the bottom.
do
statement
while ( condition );
Previous slide
Next slide
Back to first slide
View graphic version