February 2014
Beginner
1248 pages
62h 25m
English
• The do...while statement (p. 163) is similar to the while statement. In the while, the program tests the loop-continuation condition at the beginning of the loop, before executing its body; if the condition is false, the body never executes. The do...while statement tests the loop-continuation condition after executing the loop’s body; therefore, the body always executes at least once.
Read now
Unlock full access