blob: b038e80241750d96c8732b1437ea590d0d9e38f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "Shape.h"
class Triangle : public Shape
{
public:
Triangle(int x1, int y1, int x2, int y2, int x3, int y3);
double getArea();
double getPer();
Shape* clone();
};
|