if else exercise