Computer Science, asked by fizz8wwashwethu, 1 year ago

difference between break and continue

Answers

Answered by CUTEBARBIE
6
  break --break can appear in both switch and loop (forwhiledo) statements.o be exited immediately. The break statement can be used in bothswitch and loop statements.

continue --
continue can appear only in loop (for,whiledo) 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