Revised: 09/30/98, 01/20/00, 03/30/00, 05/15/03, 01/14/06
CHAPTER 13 — Single-branch if Statements
This chapter looks at more ways to make decisions.
Chapter Topics:
- Single-branch
ifstatements - Boolean expressions that use arithmetic
- Picking the right relational symbol
- Several
ifstatements in a program
QUESTION 1:
You are walking through the shopping mall and are a little bit hungry. Pleasant aromas tempt you as you pass by a cookie store. What will you do?