Computer Science, asked by sudipsarkarStreamer, 4 months ago

what are counters and accumulators in Qbasic? write their importance​

Answers

Answered by nishanikumari23
5

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:

please mark me as brainlist

Answered by HarinePriya
4

Answer:

Accumulator Variable

Explanation:

It is initialised to zero and is incremented in each repitition with different values .This program asks the user for 5 numbers and returns the sum. For this ,a counter is used to control the number of times we ask the user for number and an accumulator to calculate the sum of the numbers.

Similar questions