Create ex6_17.cpp