difference between break and continue
Answers
Answered by
6
break --A break can appear in both switch and loop (for, while, do) statements.o be exited immediately. The break statement can be used in bothswitch and loop statements.
continue --A continue can appear only in loop (for,while, do) statements.The continue statement can appear only in loops. You will get an error if this appears in switch statement.
continue --A continue can appear only in loop (for,while, do) statements.The continue statement can appear only in loops. You will get an error if this appears in switch statement.
CUTEBARBIE:
plz mark brainlest
Similar questions