Computer Science, asked by shaurya9191, 4 months ago

define accumulator and counter​

Answers

Answered by shubhamOp
2

Answer:

Accumulator variable

It is similar to the counter. It is initialized to zero and is incremented in each repetition with different values. ... For this, a counter is used to control the number of times we ask the user for numbers and an accumulator to calculate the sum of the 5 numbers.

Explanation:

plz give me brainlist answers

Answered by JasmineChohan
1

ANSWER

Accumulator:

In a computer's central processing unit (CPU), the accumulator is a register in which intermediate arithmetic and logic results are stored. Modern computer systems often have multiple general purpose registers that operate as accumulators, and the term is no longer as common as it once was.

Counter:

In digital logic and computing, a counter is a device which stores the number of times a particular event or process has occurred, often in relationship to a clock. The most common type is a sequential digital logic circuit with an input line called the clock and multiple output lines.

Similar questions