Question: the do-while loop is a pretest loop?
Answer:  The while loop is known as a pretest loop, because it tests the boolean expression before it executes the statements in its body.  Note: This implies that if the boolean expression is not initially true, the body is never executed.  In all but rare cases, loops must contain a way to terminate within themselves.