Create ex2_5.cpp