diff options
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | Sem. 12/Example_polymorphism/Rectangle.h | 2 |
diff --git a/Sem. 12/Example_polymorphism/Rectangle.h b/Sem. 12/Example_polymorphism/Rectangle.h index ccdad8e..b689637 100644 --- a/Sem. 12/Example_polymorphism/Rectangle.h +++ b/Sem. 12/Example_polymorphism/Rectangle.h @@ -7,4 +7,6 @@ public: Rectangle(int x1, int y1, int x3, int y3); double getArea() const override; double getPer() const override; + bool isPointIn(int x, int y) const override; + };
\ No newline at end of file |
