Help with break | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Jan 2018, 4:44 PM
BK_maestro
BK_maestro - avatar
2 Answers
+ 24
i don't know enough web , but know that we use break to get out of the loop 👉if u will look carefully again , u will see that the if statement in which U are using break is not inside any loop , so whats the use of break then //ie , u putted closing bracket } of while loop earlier than that if statement //hope it helps☺
10th Jan 2018, 5:00 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
So hard English( Hard translate
10th Jan 2018, 5:38 PM
BK_maestro
BK_maestro - avatar