Create exercise1.21.cpp