Multiple Choice
Before entering a loop to compute a running total, the program should first do this.
A) Read all the values into main memory
B) Set the accumulator where the total will be kept to an initial value, usually zero
C) Know exactly how many values there are to total
D) Set all variables to zero
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: Which of the following are pre-test loops?<br>A)
Q39: How many times will the following do-while
Q40: This type of loop allows the user
Q42: What will be the value of x
Q42: A file must always be opened before
Q45: This is a sum of numbers that
Q46: Assume that inputFile references a Scanner object
Q48: How many times will the following do-while
Q54: What will be the value of x
Q55: The while loop has two important parts: