+ 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
4 Respuestas
+ 7
https://code.sololearn.com/WhsJg0IXA5Fr/?ref=app
+ 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.
+ 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
+ 2
Thank you, now i see