Create ex29.cpp