![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Chapter 26: | How To Write Multiway |
The analyze_trades
program shown, for example, in
Segment 377, is a keystone program, because it brings together
many concepts, including C's mechanisms for reading, displaying, testing,
conditional execution, iteration, and pointer dereferencing.
Now you are ready to tackle still more C mechanisms through further
modifications to the analyze_trades
program. In this chapter, for
example, you learn how to use switch
statements when you want your
program to decide which of many alternative statements to execute.