Whichever number I enter, in the switch part, it only handles the one with if and never does if else. Can anyone explain why this is happening? My second question is that if