I have updated programming puzzle 2 – I am giving you my “solution” to look at from the start since it will hopefully make the idea of the problem clearer. Please don’t look at the source code until you’ve at least tried on your own.
Programming Puzzle 2 Update
Previous post: Grading (or Passing)
Next post: Classroom Change