A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.
Assignment 25
Some combined bath-showers have two faucets and a lever for controlling the flow of the
water. The lever controls whether the water flows from the showerhead or directly into the
tub. When the water is first turned on, it flows directly into the tub. When the lever is