Question: Given class Triancie ( in files Triangle h and Triangle.cpp ) , complete main 0 to read and se height of triangle 1 and of

Given class Triancie (in files Triangle h and Triangle.cpp), complete main0 to read and se height of triangle 1 and of trangle 2, determine which triangles area is larger, and output that making use of Triang 1 e s relevant member functions
Ex lf the input is:
3,0,4.0
4.0,3,0
where 3.0 is trianglet's base, 4.0 is triangle 's height, 4.0 is triangle 2's base, and 5.0 is triangle output is:
Trianele with larger area:
EaEe: 4.00
Heaphe, 5,00
Areii: 10,00
hictimy
4.12.1 LAB Trlangle area comparison (classes)
 Given class Triancie (in files Triangle h and Triangle.cpp), complete main0

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!