The exercises from Ch. 5.6 of Learn to Program