Counters and accumulators Flashcards
1
Q
What is a counter?
A
A variable that changes by the same amount in every iteration.
2
Q
What is an accumulator?
A
A variable that doesn’t always change by the same amount in every iteration.