...
Diff: Shape.h
- Revision:
- 0:0bd684b9e2c3
- Child:
- 1:2bc647d6c00d
diff -r 000000000000 -r 0bd684b9e2c3 Shape.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Shape.h Thu Aug 08 18:32:59 2019 +0000 @@ -0,0 +1,19 @@ +#ifndef MY_SHAPE +#define MY_SHAPE + +#include "mbed.h" + +class Shape{ + public: + Shape(int); + Shape(int, int); + int getArea(); + int getPerimeter(); + private: + int _x; + int _y; + int _area; + int _perim; +}; + +#endif \ No newline at end of file