Challenge188 C++ program