Create ex3.cpp