Question: In C++ please but as input we use all the inputs coted below in one code please 9.26 LAB: Triangle area comparison (classes) Given class

In C++ please but as input we use all the inputs coted below in one code please
In C++ please but as input we use all the inputs coted
below in one code please 9.26 LAB: Triangle area comparison (classes) Given
class Triangle (in files Triangle h and Triangle cpp), complete main0 to
read and set the base and height of triangle1 and of triangle2,
determine which triangles area is smaller, and output that triangle's info, making

9.26 LAB: Triangle area comparison (classes) Given class Triangle (in files Triangle h and Triangle cpp), complete main0 to read and set the base and height of triangle1 and of triangle2, determine which triangles area is smaller, and output that triangle's info, making use of Tri angle's relevant member functions Ex: If the input is: 3.0:4.04.05.0 where 3.0 is trianglet's base, 4.0 is trianglet's height, 4.0 is triangle2's base, and 50 is tranglez's height, the output is: Triangle with maller area: Base: 3.00 Height: 4.00 Area: 6.00 9.26.1: LAB: Triangle area comparison (classes) 2/10 Input3.06.54.52.0 Input15.516.12.32.0 Input23.44.512.343.2 Input12.010.016.018.0

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!