![]() |
School of Engineering and
Applied
Science
Department of Computer Science CSci 53 -- Introduction to Software Development http://www.seas.gwu.edu/~csci53/fall03 Prof. Michael B. Feldman mfeldman@gwu.edu |
Copy programs53/ShowInputLoop.java to your csci53 directory. 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)