Create ex04.cpp