Question: C++ Write a class Triangle that provides getSides, which returns the lengths of the three sides, and getAngles, which returns the degrees of the three
C++
Write a class Triangle that provides getSides, which returns the lengths of the three sides, and getAngles, which returns the degrees of the three internal angles. Then write a main function that randomly generates an array of triangles and finds the largest triangles first on the basis of area and then on the basis of perimeter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
