+ 1
What counter does?
2 Answers
+ 1
Counter is just a user defined variable to count the number of iterations a loop does
0
Counter counts the amount of time a code should execute within the given loop.
If the condition of the loop is met with the help of a counter, the loop terminates.