#include //#ifndef "Block.h" #include "Block.h" using namespace std; int main() { Block Rectangle, Rectangle3, Rectangle4; int x, y, x2, y2; cout << "Enter the Length: "; cin >>x; cout << endl; cout << "Enter the width: "; cin >>y; Rectangle.SetX(x); Rectangle.SetY(y); cout << "Enter the Length: "; cin >>x2; cout << endl; cout << "Enter the width: "; cin >>y2; /*Rectangle2.SetX(x2); Rectangle2.SetY(y2);*/ Block Rectangle2(x2,y2); cout << "the area of the first block is " << Rectangle.CalculateArea()<< endl; cout << "the area of the Second block is " << Rectangle2.CalculateArea()<< endl; Rectangle3=Rectangle + Rectangle2; cout << "The length of the third rectangle is " << Rectangle3.GetX() << " the width is " << Rectangle3.GetY() <