programming logic and design 9th edition chapter 2 answers