Create ex10.cpp