C++ PROGRAM CODE