Completed Chapter 7 programming assignments