an accumulator variable should be initialised
Answers
Answered by
20
Answer:
accumulators should be initialized with a value of zero . ... Initialize Total to zero. Add a For Loop that will iterate 3 times so the user can input 3 numbers. Inside the For Loop, insert an Input symbol for a variable named Number.
Answered by
3
An accumulator is used to keep a running total of numbers. In a loop, a value is usually added to the current value of the accumulator. If it is not properly initialized, it will not contain the correct total.
Similar questions