Create exercise3.20.cpp