The while loop has two important parts: a condition that is tested and a statement or block of statements that is executed
A) as long as the condition is true.
B) until the condition becomes true.
C) at least once.
D) exactly once.
E) Both A and C are true, but B and D are not.
Correct Answer:
Verified
Q12: A(n)is a variable that controls the number
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
Q18: 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