+ 3

i want to put a "continue" or a "break" after an "if" but it doesn't work what should i do ?

Here is an exemple : https://code.sololearn.com/WoeKjV1Hd6ME/?ref=app

2nd Feb 2018, 12:40 PM
Valkyrion
Valkyrion - avatar
4 Antworten
+ 7
https://code.sololearn.com/WhsJg0IXA5Fr/?ref=app
2nd Feb 2018, 1:42 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
Break statements are used to break out of a loop, but if statements only loop once and automatically break. Continue is most commonly used in while statements to return to the top of the condition, and rerun the statement.
2nd Feb 2018, 1:29 PM
Dread
Dread - avatar
+ 2
I really don't see what this codes aim is?continue and break are used in loops not if statements that run only once
2nd Feb 2018, 12:55 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
Thank you, now i see
2nd Feb 2018, 3:06 PM
Valkyrion
Valkyrion - avatar