diff options
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | Sem. 12/Example_polymorphism/Triangle.h | 2 |
diff --git a/Sem. 12/Example_polymorphism/Triangle.h b/Sem. 12/Example_polymorphism/Triangle.h index c157de8..3f7f8cb 100644 --- a/Sem. 12/Example_polymorphism/Triangle.h +++ b/Sem. 12/Example_polymorphism/Triangle.h @@ -9,4 +9,6 @@ public: Triangle(int x1, int y1, int x2, int y2, 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 |
