- A "fragile" version of the ColorMixer program from a few weeks ago (Lecture 15):
Click on
FragileColorMixer
to show the example.
- A "safer" version that checks for integer input in the correct range:
Click on
SaferColorMixer
to show the example.
- A safer version that catches exceptions and displays their message:
Click on
ExceptionColorMixer
to show the example.
- A "forgiving" version that demonstrates exception handling:
Click on
ForgivingColorMixer
to show the example.