The Difference Between Pretest And Post test. A pretest loop is one in which the block is to be repeated until the specified condition is no longer true, and the condition is tested before the block is executed. A post test loop is one in which the block is to be repeated until the specified condition is no longer true, and the condition is tested after the block is executed...
1) entry controlled or pre-test loop e.g. While, for.
2) exit controlled of post-test loop e.g. Do, while.
2) exit controlled of post-test loop e.g. Do, while.