0

What can I do with loops in coding?

I am new here and want to know that

3rd Aug 2019, 3:28 PM
Davide Farassino
Davide Farassino - avatar
1 Resposta
+ 8
Loops are very useful when your program needs to do some repetitive activity so you instead of writing that part of a code multiple times use some loop. For example working with each "user in some array of users, taken from database" It can also be used for non ending loop which can be only ended by some conditions.. =)
3rd Aug 2019, 5:22 PM
Krysto Foxik 🐥
Krysto Foxik 🐥 - avatar