Ch. 5.5: The do while Loop Flashcards
1
Q
What is a do-while loop?
A
The do-while loop is a posttest loop. This means it does not test its expression until it has completed an iteration. As a result, the do-while loop always performs at least one iteration, even if the expression is false to begin with.
2
Q
What is a self-controlled loop?
A
It allows the user to decide the number of iterations.