Tutorials
THE WORLD'S LARGEST WEB DEVELOPER SITE

Exercise:

Use the break statement to stop the loop at 5.

Inside the for loop; Insert an if statement that checks if i is equal to 5, then stop the loop with break;