What counter does? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

What counter does?

17th Jul 2019, 10:34 AM
Sanchi
Sanchi - avatar
2 Réponses
+ 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