Sample C++ program