Which kind of loops does the while statement can express easily?
A. Pretest loops
B. Posttest loops.
查看答案
The following while statement will cause an infinite loop.-CODE---int count = 10;while (count <= 10)count = count - 1;-CODE---
A. 对
B. 错
An infinite loop will eventually exit from the while statement.
A. 对
B. 错
It is computer’s responsibility to detect and prevent infinite loops.
A. 对
B. 错
We can use compound statements in a while statement.
A. 对
B. 错