Create ex6_23.cpp