Counters and accumulators Flashcards

1
Q

What is a counter?

A

A variable that changes by the same amount in every iteration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an accumulator?

A

A variable that doesn’t always change by the same amount in every iteration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly