n/a
Diff: Rectangle.h
- Revision:
- 0:f3642f9dd5f6
diff -r 000000000000 -r f3642f9dd5f6 Rectangle.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Rectangle.h Tue Mar 22 09:30:09 2016 +0000 @@ -0,0 +1,14 @@ +#ifndef MBED_RECTANGLE_H +#define MBED_RECTANGLE_H +#include "mbed.h" +#include "Shape.h" +#include <string> + +class Rectangle : public Shape +{ + public: + Rectangle (float width, float height); + float getArea(); +}; + +#endif \ No newline at end of file