Question: a do while loop is a type of pretest loop?
Answer: A pretest loop tests its condition before each iteration. A posttest loop tests its condition after each iteration. ... The while loop is a pretest loop and the do-while loop is a posttest loop.