0

How can we know if the breaking statement is inside of the loop?

20th Nov 2020, 8:14 AM
Should I Care?
Should I Care? - avatar
2 odpowiedzi
+ 7
Look the indentation
20th Nov 2020, 8:25 AM
Alphin K Sajan
Alphin K Sajan - avatar
0
If there is a break statement, it will be in an if statement, or the loop is meaningless. So you can print messages to notify when there is a break statement. I'm curious why do you need that.
20th Nov 2020, 8:29 AM
你知道規則,我也是
你知道規則,我也是 - avatar