+ 5
What is a counter variable?
2 Réponses
+ 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...