program c++ 3