+ 2
Why While loops?
Hey guys, I came here to ask a question why while loops are so important to use.If you know please answer.
33 Answers
+ 3
something that loops as long as the condition is true, that means it will repeatedly check the condition over and over again . Also while loops has simpler codes (for me)
+ 3
Oh this time I got it.
+ 2
Thanks Josef for the answer
+ 2
I understood loop.Loops are used to repeat certain things.
+ 2
well, while loops repeats from an unknown amount of time until the condition is met( the condition intially true, becoming false ), on the other hand, for loops repeats for a given amount( size of an Array, for example ). Sorry for the confusion
+ 2
Thanks
+ 2
Do you think sololearn gives in-depth tutorial for Html.
+ 2
I'mma sleep now
+ 2
12.31 am
+ 2
real example for while loop is: in game programming when a player tries to penetrate through wall while loop will stop him to cross it and when he takes another. direction it breaks.
+ 1
do you understand do...while?
+ 1
what is while?
+ 1
how about do...while loops?
+ 1
ahah I didn't get it.
+ 1
do you understand it,then?
+ 1
Too bad this app doesn't provide advance courses for python, java, or any language
+ 1
Wow Seelam good example.
0
No.I didn't understood it it's little bit confusing.
0
How while loops are different from for loops?
0
I hope I didn't waste your time.