Multiple Choice
When you use a while loop to compute the average of several values, what variables do you need to keep track of (in addition to holding the value being processed) ?
A) The sum of the values
B) How many values have been processed
C) None
D) The sum of the values and how many values have been processed
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q50: What is the output of this code
Q51: The hasNext method in the Scanner class
Q52: In the do/while loop, the loop condition
Q53: How many times will a loop with
Q54: The while loop condition is a boolean
Q56: The while loop is used to process
Q57: What is the argument list for the
Q58: When reading data from a file using
Q59: How many times will a loop with
Q60: The loop condition is a boolean expression.