#ifndef RECTANGLE_H_INCLUDED
#define RECTANGLE_H_INCLUDED
#include "quadrilateral.h"
class Rectangle:public Quadrilateral
{
public:
Rectangle();
Rectangle(Point &p1, Point &p2, Point &p3, Point &p4);
void SetAll(Point &p1, Point &p2, Point &p3, Point &p4);
double Perimeter();
double Area();
void Print();
};
#endif
I2lmbmRlZiBSRUNUQU5HTEVfSF9JTkNMVURFRAojZGVmaW5lIFJFQ1RBTkdMRV9IX0lOQ0xVREVECgojaW5jbHVkZSAicXVhZHJpbGF0ZXJhbC5oIgoKY2xhc3MgUmVjdGFuZ2xlOnB1YmxpYyBRdWFkcmlsYXRlcmFsCnsKCXB1YmxpYzoKCQlSZWN0YW5nbGUoKTsKCQlSZWN0YW5nbGUoUG9pbnQgJnAxLCBQb2ludCAmcDIsIFBvaW50ICZwMywgUG9pbnQgJnA0KTsKCQl2b2lkIFNldEFsbChQb2ludCAmcDEsIFBvaW50ICZwMiwgUG9pbnQgJnAzLCBQb2ludCAmcDQpOwoJCWRvdWJsZSBQZXJpbWV0ZXIoKTsKCQlkb3VibGUgQXJlYSgpOwoJCXZvaWQgUHJpbnQoKTsKfTsKI2VuZGlmCgo=