
■ To be able to convert a series of if-then-else
statements to a switch statement.
■ To be able to construct a switch statement to
implement a specified task.
■ To be able to convert a while loop to a do-while loop.
■ To be able to construct a do-while loop to do a
specified task.
■ To be able to construct a for statement to do a
specified task.
■ To be able to modify the case study program.
Additional Control
Structures
Objectives
78828_CH07_DaleLab 5/21/09 10:48 AM Page 147