Website Summary Files Commits Branches @commit @diff @stats
path: root / Polymorphism / Shapes / Circle.h
blob: c648690f2d2aad339de85d444adc305ef0cc1c52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Shape.h"

const double PI = 3.14;
class Circle : public Shape
{

	int radius;
public:
	Circle(int x, int y, int radius);

	double getArea();
	double getPer();

	Shape* clone();

};