What is a counter variable? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 5

What is a counter variable?

27th Feb 2019, 1:28 AM
Monkey D. Luffy
Monkey D. Luffy - avatar
2 Respuestas
8th May 2019, 2:56 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 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...
27th Feb 2019, 2:24 AM
Kuri
Kuri - avatar