Chapter 2 - Example2_4_Modified.cpp