0

Create a TTriangle class

Create a TTriangle class with virtual methods for calculating the area and perimeter. Based on this class, create classes representing equilateral, rectangular and isosceles triangles. Randomly create a certain number of triangles of each type so that their total number is equal to n . For equilateral and rectangular, calculate the sum of the areas, and for isosceles ā€“ the sum of all the perimeters

17th Jan 2023, 10:18 AM
ŠŠ»ŠøŠ½Š° ŠšŠ¾Š½ŃŒŠŗŠ¾Š²Š°
1 Answer
+ 7
ŠŠ»ŠøŠ½Š° ŠšŠ¾Š½ŃŒŠŗŠ¾Š²Š° , > what kind of issue do you have? > please also link your code here
17th Jan 2023, 10:37 AM
Lothar
Lothar - avatar