R exercise

3.3.2 Ifelse

Sign in to hand in your solution and get feedback.