What are the usages of loops '3'? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What are the usages of loops '3'?

I know how to use them, but the main problem is where to use for loop, while loop or do while loop. If someone describe with examples, it will be very helpful and appreciative. Thanks in advance!

20th May 2020, 1:38 AM
omid shagiwal
omid shagiwal - avatar
2 Respuestas
20th May 2020, 1:59 AM
BroFar
BroFar - avatar
0
if u need to print a number at certain period like if u want print "hi" for 20 times its very difficult to right 10 times so we use loops not only for that if you are writing code for calculator on that time this loop will be use full for you
20th May 2020, 2:47 PM
Dasari Venkata Siddartha Dinesh Kumar