#ifndef SQUARE_H_INCLUDED
#define SQUARE_H_INCLUDED
#include "quadrilateral.h"
class Square:public Quadrilateral
{
public:
Square();
Square(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
I2lmbmRlZiBTUVVBUkVfSF9JTkNMVURFRAojZGVmaW5lIFNRVUFSRV9IX0lOQ0xVREVECgojaW5jbHVkZSAicXVhZHJpbGF0ZXJhbC5oIgoKY2xhc3MgU3F1YXJlOnB1YmxpYyBRdWFkcmlsYXRlcmFsCnsKCXB1YmxpYzoKCQlTcXVhcmUoKTsKCQlTcXVhcmUoUG9pbnQgJnAxLCBQb2ludCAmcDIsIFBvaW50ICZwMywgUG9pbnQgJnA0KTsKCQl2b2lkIFNldEFsbChQb2ludCAmcDEsIFBvaW50ICZwMiwgUG9pbnQgJnAzLCBQb2ludCAmcDQpOwoJCWRvdWJsZSBQZXJpbWV0ZXIoKTsKCQlkb3VibGUgQXJlYSgpOwoJCXZvaWQgUHJpbnQoKTsKfTsKI2VuZGlmCgo=