School of Engineering and Applied Science
Department of Computer Science
CSci 53 -- Introduction to Software Development
http://www.seas.gwu.edu/~csci53/fall04
Prof. Michael B. Feldman
mfeldman@gwu.edu

Lab Exercise #6 -- Loop the loops
Tuesday, Oct. 19, 2004

The purpose of this lab is to develop your own Java class to do robust interactive input.

Copy programs53/ShowInputLoop.java to your csci53 diectory. Examine this program, then compile it. Run it and try various input values.

Now copy and examine programs53/RobustInput.java. You will see that the method bodies are "stubbed out". Your lab exercise is to complete the method bodies and test this class. Hint: the while loop from ShowInputLoop can serve as a basis for the method bodies of your class.
 

(end of lab)