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.

Continue your learning journey with a 14-day free trial.

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