n/a

Dependents:   Figury

Committer:
kch78
Date:
Tue Mar 22 09:30:09 2016 +0000
Revision:
0:f3642f9dd5f6
1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kch78 0:f3642f9dd5f6 1 #ifndef MBED_RECTANGLE_H
kch78 0:f3642f9dd5f6 2 #define MBED_RECTANGLE_H
kch78 0:f3642f9dd5f6 3 #include "mbed.h"
kch78 0:f3642f9dd5f6 4 #include "Shape.h"
kch78 0:f3642f9dd5f6 5 #include <string>
kch78 0:f3642f9dd5f6 6
kch78 0:f3642f9dd5f6 7 class Rectangle : public Shape
kch78 0:f3642f9dd5f6 8 {
kch78 0:f3642f9dd5f6 9 public:
kch78 0:f3642f9dd5f6 10 Rectangle (float width, float height);
kch78 0:f3642f9dd5f6 11 float getArea();
kch78 0:f3642f9dd5f6 12 };
kch78 0:f3642f9dd5f6 13
kch78 0:f3642f9dd5f6 14 #endif