The double 1.0 does not equal the int 1 which you are trrying to use in the switch statement. The solution is to do as you attempted and change the doubles to ints but then you encounter the other...