Multiple Choice
When you use a while loop to compute the product of several values, you should initialize the variables holding the product to:
A) 0.
B) 1.
C) NULL.
D) There is no need to initialize them.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: If you want to loop between the
Q8: If the while loop condition is false
Q9: Calculating an average is a combination of
Q10: A sentinel value in a while loop
Q11: Writing a String in reverse can be
Q13: Without the priming read, the while loop
Q14: When you use a while loop to
Q15: Which of the following arguments constructs a
Q16: It is a good idea to initialize
Q17: Curly braces around a for loop body