Entry Controlled Loop: Unfixed Iteration

Learn about the contribution of branching statements on controlling the behavior of a program in this lesson.

Coding example: 58

The following example deals with another interesting part of code statements, branching statements. By using continue and break keywords, we can control the movement of a loop. First, see the example provided below:

Get hands-on with 1200+ tech skills courses.