This test asks to replace the inner if/else statement from the previous test with a switch statement. I couldn’t think of a way to do this without including comparison operators in the switch.
Can you please advise if my solution is expected or what other approaches could be taken?