cout << "The area of the rectangle is" << rectangleObject.get_area() << '\n';
cout << "The perimeter of the rectangle is " << rectangleObject.get_perimeter() << '\n';
cout << "The area of the triangle is " << triangleObject.get_area() << '\n';
cout << "The area of the square is " << squareObject.get_area() << '\n';
Please edit your post make sure your code is [code]between code tags[/code] so that it has line numbers, as well as syntax highlighting and proper indentation.