Question: c++ please Given class Triangle (in files Triangle h and Triangle cpp), complete main() toread and set the base and height of trianglet and of

c++ please
c++ please Given class Triangle (in files Triangle h and Triangle cpp),

Given class Triangle (in files Triangle h and Triangle cpp), complete main() toread and set the base and height of trianglet and of triangle2, determine which triangle's area is smaller, and output that triangles info, making use of Triangle's relevant member functions Ex: If the input is: 3.04.04.05.0 where 3.0 is triangle1's base, 40 is trlangle''s height, 4.0 is triangle2's base, and 5.0 is triangle2's height, the output is: Triangle with araller area: Baze: 3.00 Height: 4.00 Area: 6,00 9.26. 1: LAB: Triangle area comparison (classes)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!