Solve problem 203 using C++.