Create ex23.cpp