Why cant i stop the program using break | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why cant i stop the program using break

help me its is showing break is out of loop

12th Jan 2017, 4:45 AM
Sri Sathya
Sri Sathya - avatar
4 Answers
+ 7
This is because your break statement is placed outside a loop structure. (Rei, you don't say?!) Try reviewing your codes.
12th Jan 2017, 4:47 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
@Kenyatta Madison: I've check the profile, and there is no code inside ^^
12th Jan 2017, 5:44 AM
visph
visph - avatar
+ 3
Post your code, or link to, if you want help for debugging ^^
12th Jan 2017, 5:21 AM
visph
visph - avatar
+ 1
ya I check but still its saying it is out of loop
12th Jan 2017, 5:27 AM
Sri Sathya
Sri Sathya - avatar