Website Summary Files Commits Branches @commit @diff @stats
path: root / Polymorphism / Rectangle.h
blob: 7c7e3d0d3fa8222d64c68b48ccedc44cb8a02666 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "Shape.h"
class Rectangle : public Shape
{
public:
	Rectangle(int x1, int y1, int x3, int y3);

	double getPer();
	double getArea();

	Shape* clone();
};