Continue statement
The continue statement is used in loops to skip the rest of the currently executing iteration. If provided with a label, it can exit multiple nested blocks of code at the same time.
Example
The following example calculates the sum of all prime numbers up to a certain limit. It uses the continue statement to skip loop iterations where the current index is not a prime number.