David Newton wrote:Or: think carefully about what a switch statement does--it can only compare a single value at a time. You, on the other hand, want to compare a range of values. Rob's answer is correct, but I'd rather you took the time to consider *why* the switch statement wasn't working, and why Rob's answer does.
This exercise is only on the switch function. you are not allowed to use if or while or any other fancy method..
i think i am close to the answer, but something is missing to make the "other" -10 to 50. alternatively , make the input go to 100 and not above