Create ifAndswitch.cpp