Multiple Choice
When you use a while loop to count how many values meet a certain condition, you should initialize the variable holding the count to:
A) 0.
B) 1.
C) NULL.
D) There is no need to initialize it.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: Calculating an average is a combination of
Q10: A sentinel value in a while loop
Q11: Writing a String in reverse can be
Q12: When you use a while loop to
Q13: Without the priming read, the while loop
Q15: Which of the following arguments constructs a
Q16: It is a good idea to initialize
Q17: Curly braces around a for loop body
Q18: When you use a while loop to
Q19: We typically use a for loop as