Professional Documents
Culture Documents
2. Assume that intCounter is an int variable initialized to 5. Which of the following loop continuation conditions can be used in a
do while statement to print the values 5 through 15, inclusive?
a) intCounter > 5 b) intCounter < 15
c) intCounter <= 15 d) intCounter < 16
e) Both c and d.
Answers: 1) d. 2) e.
10.4 Wrap-Up