What counter does? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What counter does?

17th Jul 2019, 10:34 AM
Sanchi
Sanchi - avatar
2 Respostas
+ 1
Counter is just a user defined variable to count the number of iterations a loop does
17th Jul 2019, 11:16 AM
Nandini
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.
17th Jul 2019, 1:42 PM
Franky BrainBox
Franky BrainBox - avatar