if else exercise.