8.1 Introduction
Control operations fall into two general categories—decision operations (a.k.a., selection operations, condition operations) and iterative operations (a.k.a., repeating operations, looping operations). Decision operations alter the path of a program’s execution based on the truth or falseness of a relational, equality, and/or logical operation when multiple paths through a program are required. Iterative operations, on the other hand, execute a block of code repeatedly while or until a certain condition (i.e., a relational, equality, and/or logical condition) ...