Chapter 7 Programming Assignment for CSC 2134