Create 10.cpp

Problem 10