At this point, you need to recall that switch
views the character
data type as just another kind of integer. As long as you compare the
value of a character-returning Boolean expression with various characters,
viewed as integers, switch
works just fine.