Answers to End-Of-Chapter Exercises
This section contains sample solutions to the exercises that occur at the end of each chapter, starting with Chapter 2. The solution includes a discussion of the problem, as well as the code for a solution. The discussion is meant to be read, and in many cases will supplement the reading from the chapter itself.
Remember that there are many ways to solve a programming problem!