Chapter-7 Pine's book These are the exercises from the book Learn to Program 2nd Edition by Chris Pine. You will encounter them in chapter 7, flow control portion.