Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a) the name of the class is TriangleType b) The class TriangleType has three mem

ID: 3622637 • Letter: A

Question

a) the name of the class is TriangleType
b) The class TriangleType has three member variables: sideA, sideB and sideC
c)The class triangleType has the following member functions:
       1) a constructor to initialize the member variables
        2) ComputeArea- returns the area of the triangle(1/2(sideA+sideB+sideC)),
        3) IsScalene-returns a Boolean value if no sides of the triangle are of equal length and prints a    message stating that the triangle is a scalene
         4) IsRight-returns a Boolean value if SideA2 + SideB2 = sideC2.

d) Write the definition of the member functions of the class TriangleType as described in part c.

In summary you are to

1) write a .h file

2) Add a function to "modifyTriangle(a, b, c)"

write a .cpp file to make use of the .h file



Explanation / Answer

this is ur prog #include class triangle { public: int sideA,sideB,sideC; triangle() { cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote