Create Exercise18.cpp