The while loop has two important parts: a condition that is tested and a statement or block of statements that is
A) repeated as long as the condition is True.
B) repeated until the condition becomes True.
C) done once if the condition is True.
D) always done at least once, then repeated if the condition is True.
E) always skipped.
Correct Answer:
Verified
Q9: The statements in the body of a
Q10: A variable that keeps a running total
Q11: The block of code in the body
Q12: To use an output file in a
Q13: For data validation, it is best to
Q15: When a loop is nested inside another
Q16: _ are C++ operators that change their
Q17: A sentinel is a special value that
A)
Q18: You may define a(n) _ in the
Q19: A while loop may have a semicolon
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