A calculator example showing how to use if AND switch statements.