------------------------------------------------------------------------------
MC logo
Break and Continue
[^] Code Examples
------------------------------------------------------------------------------
<<Switch Using Break Calculator Example>>
Break and continue are similar to Java.

break;
Immediately leaves the nearest-enclosing switch or loop.

continue;
Restarts the nearest-enclosing loop.
While loop: Go to the test.
For loop: Go to the increment.

Reading: Ch. 8
<<Switch Using Break Calculator Example>>