A pre-test or entry-condition loop (cont'd from previous slide)

If the test returns true, the code in the body of the loop is executed and the test is performed again.

When the test returns false, even if it is first time that the test is performed, the code in the body of the loop is skipped and control exits the loop structure.

If the test returns false the first time that it is performed, the code in the body of the loop won't be executed.