Create ex21.cpp