Question: a while loop is a pretest loop?
Answer: The while loop is known as a pretest loop, which means it tests its expression before each iteration. This is an infinite loop because it does not contain a statement that changes the value of the number variable.