add new compare between "if else" and "switch case"