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