Question: 1 2 . Reflect on Exercise 2 While it was natural to use an if - else statement for this exercise, it was not actually
Reflect on Exercise
While it was natural to use an ifelse statement for this exercise, it was not actually necessary. You could have chained together multiple if statements, just like you did in the first exercise. However, the two cases were mutually exclusive; an email is either one type or the other, but not both.
Why do you think it is preferable to use an ifelse statement in this case?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
