The while loop has two important parts: a condition that is tested and a statement or block of statements that is
A) done once if the condition is true.
B) repeated as long as the condition is true.
C) always skipped.
D) repeated until the condition becomes true.
E) always done at least once, then repeated if the condition is true.
Correct Answer:
Verified
Q9: An initialization expression may be omitted from
Q13: A variable that keeps a running total
Q14: The ideal type of loop to use
Q15: For data validation, it is best to
Q16: The statement causes a loop to terminate
Q17: The while loop has two important parts:
Q19: A(n)is a special value that marks the
Q20: are C++ operators that change their operands
Q21: The do- while loop is a(n)loop, whereas
Q22: If a while loop has no braces
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents