I'm getting an input from a user - a number - 1 or 2, and then test if it's 1 or 2. Should I use switch or if? I think switch is better because I can also define a default case, but then - I can do the same with if: if, else if, else. Which one should I use and how do I know in other cases as well?