Clarification Please: If-statement VS Switch-statement
I just need some clarification. Are the if-statement and the switch-statement technically interchangeable? If I have a problem that I am solving, I could use either one and then it is just a matter of knowing when to use one versus the other. Is this correct?