ram's chapter 10 answers

Extremely pedantic personal programming style here, but I'd put the trailing `or` on the same line, or leave a blank line between the current line and the `printf` below;