Operator
|
Description
|
Skips the remainder of the current iteration and returns to the first loop statement. This operator takes no arguments.
• In a for loop, the iteration variable is incremented.
• In conjunction with a conditional statement, the continue operator causes the program to skip the current iteration and proceed to the next one.
|
|
Halts execution of the current loop and returns the last value calculated. This operator takes no arguments.
• In conjunction with a conditional statement, the break operator causes the program to halt the execution of a loop and to return control to the first statement after the loop.
|
|
Halts the program and returns x.
|