C++ drill # 1