Question: what is the difference between pre-tested and post-test loops?
Answer: A pretest loop tests its condition before each iteration. A posttest loop tests its condition after each iteration. A posttest loop will always execute at least once.