Create ex17.cpp