Create ex5_6.cpp