Table of Contents
Computers are much more useful when they can make decisions. Most calculations cannot proceed very far without reaching some sort of crossroad, where a decision must be made about what to do next. Very few programs perform a sequence of calculations with no branches. In this chapter, we will explore ways to design and implement decision-making in our algorithms and code.