can any one explain loops in simple way? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can any one explain loops in simple way?

24th Jun 2016, 8:50 AM
zbwafi
5 Answers
+ 5
Looping in simple words. after 10th class (think it's int=2) while (int <=3) /* after 10th class 2 years course or 3 years course Maxim it's condition*/ PUC Science 2years /*condition true*/ int++ Diploma 3 years /*condition true second time*/ return 0; /* Leave Studies do business*/ 😉 hope u got it in simple words :-)
2nd Jul 2016, 6:01 PM
Manjunath Hirapur
Manjunath Hirapur - avatar
+ 3
Loops are intended to write down repeated code. As they can have indexes they have utility in accessing elements of an array in a sequential manner, step-by-step calculation of a value and other things.
24th Jun 2016, 9:36 AM
Stefan
Stefan - avatar
+ 1
loop is the process which do some kind of same task according to users choice
24th Jun 2016, 3:44 PM
Mehdi Momin
Mehdi Momin - avatar
0
No prob ;-)
24th Jun 2016, 10:30 AM
Stefan
Stefan - avatar
- 1
thanks. bro
24th Jun 2016, 10:29 AM
zbwafi