Create Q8.10.cpp