0
what loop used for
7 Answers
+ 1
loop is used when we have to do a similar thing again and again
e.g. we have to print numbers 1 to 10 if we want we just go writing system.out.println statement for every number which will be 10 long statement
or
else just use loop,while x<=10 print the number
0
used for reapeted actions or intructions
0
give example of respected with explanation
0
used for sandwich soul soup
0
As from the name it is clear . Loop is use to execute a set of statement again and again untill a user defined condition is satisfied.
0
I can't understand please make a video for me send me on whatsapp ±91 7081604105 my number
0
things that we want to do n number of time instead of writing n line we put that in in loop that runs until condition fails