create problem8.cpp