Create ex5_17.cpp