Computer Science, asked by niroj659, 4 months ago

what are counters and accumulators.write with example​

Answers

Answered by Anonymous
5

Answer:

Accumulators are identical to counters with one difference. While they must have both an initial value and an incremental value; the incremental value is determined by a variable. Accumulators are used to keep a running total of numbers during successive passes through a loop.

Answered by safinazaheer
3

Answer:

The difference between counters and accumulators are:

Explanation:

Counter is one which count (or) which tells you the no. of events or occurences.

Accumulator holds the arithmetic and logical data inside the CPU. It can also called as register which stores the data temporarily.

Similar questions