+ 5
What is a counter variable?
2 Answers
+ 1
Counter variable are basically used to keep track of count - how many times a piece of code is executed. In general for, while loops use counter variables to decide - how many times they have to run same piece of code repeatedly...