create problem9.cpp