Red Chapter 3 answers

Chapter 3 exercises/answers.
I'd agree that using the Character library is the best solution for this in "real life" but for the purposes of the exercise this approach is right... I also considered this when doing mine...

The ternary statement is pretty cool. I wonder though, from an efficiency point of view whether an if-else-if block would be more appropriate even if the code's a bit more messy? Thinking when compiled into byte code.