
■ To be able to modify a program containing a while
statement.
■ To be able to construct a count-controlled loop to
implement a specified task.
■ To be able to construct an event-controlled loop to
implement a specified task.
■ To be able to construct a loop nested within another
loop.
■ To be able to test the state of an I/O stream.
■ To be able to answer questions about a loop that you
have implemented.
■ To be able to modify the case study program.
Looping
Objectives
78828_CH06_DaleLab 5/22/09 1:50 PM Page 125