ex1-1-3.cpp