Break Statement

This lesson describes the break statement.

What Is a break Statement?

The break statement terminates the loop. It is generally placed inside a conditional statement so that the loop terminates if the associated condition is true.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy