Controlling the Execution Path

Learn how statements are selectively executed based on the conditions.

Controlling the execution path

We learned that the code within a program is executed in sequence. A sequence is one of the three basic logical structures we have in programming. In this chapter, we’ll cover the other two, selection and iteration.

Get hands-on with 1200+ tech skills courses.