Which elements are needed to construct a repeating section of code (loop).
A repetition statement
B. A condition expression
C. A statement that initially sets the condition being tested
D. A statement within the repeating section of code that alters the condition
Which statements does C provide to construct loops?
A. if statement
B. if-else statement
C. while statement
D. for statement
E. do-while statement
In a pretest loop, the condition being tested is evaluated at the end of the repeating section of code.
A. 对
B. 错
In the condition-controlled loops, the value of the test condition determines the execution of the repetition statements.
A. 对
B. 错