From 1a912f836f096e2fc67381831a1f654199f5e7f9 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Fri, 28 May 2021 14:28:34 +0300 Subject: Update ShapesCollection.h --- Sem. 14/ShapesCollection/ShapesCollection.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sem. 14/ShapesCollection/ShapesCollection.h b/Sem. 14/ShapesCollection/ShapesCollection.h index 9077c74..1430fc7 100644 --- a/Sem. 14/ShapesCollection/ShapesCollection.h +++ b/Sem. 14/ShapesCollection/ShapesCollection.h @@ -14,13 +14,15 @@ class ShapesCollection public: - //factory + //factory void addCircle(double x, double y, double radius); void addRectangle(double x1, double y1, double x3, double y3); void addTriangle(double x1, double y1, double x2, double y2, double x3, double y3); void addRhombus(double x1, double y1, double x2, double y2); void addSquare(double x1, double y2, double sideLength); + // + void printAreas(); void printPers(); @@ -30,4 +32,4 @@ public: ShapesCollection& operator=(const ShapesCollection& other); ~ShapesCollection(); -}; \ No newline at end of file +}; -- cgit v1.3.1-23-gd82d From 62c68df64734416ed7d21d509ed33eba00b12df9 Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Fri, 28 May 2021 15:23:38 +0300 Subject: Update README.md --- Sem. 05/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sem. 05/README.md b/Sem. 05/README.md index ae881aa..d9bd067 100644 --- a/Sem. 05/README.md +++ b/Sem. 05/README.md @@ -6,7 +6,7 @@ struct Point { int x; - int y + int y; }; bool isInFirstQuadrant(const Point& p) { -- cgit v1.3.1-23-gd82d -- cgit v1.3.1-23-gd82d