Home / Expert Answers / Computer Science / in-c-pls-given-class-triangle-in-fles-triangle-hand-triangle-cpp-complete-main-to-read-and-se-pa735

(Solved): in c++ pls Given class Triangle (in fles Triangle hand Triangle cpp), complete main() to read and se ...



in c++ pls

Given class Triangle (in fles Triangle hand Triangle cpp), complete main() to read and set the base and height of trianglel a
2. \( \} \)
Puin your program as often as youd nke before submitting for grading Below, type any needed input values in the
Filefs markedias read only.
Current file: Triangle.cpp -
Given class Triangle (in fles Triangle hand Triangle cpp), complete main() to read and set the base and height of trianglel and of thangle? determine which triangle's area is smaller, and output that triangle's info, making use of Triangles relevant member functions Ex. If the input is \[ \begin{array}{ll} 3.0 & 4.0 \\ 4.0 & 5.0 \end{array} \] where \( 3.0 \) is trangle1's base, \( 4.0 \) is trianglei's height, \( 4.0 \) is triangle2's base, and \( 5.0 \) is thianglez's height, the output is Triangle with smailer area: Aase: \( 3.00 \) Hoight: \( 4.00 \) Area: \( 6.00 \) 7.23.1: LAB Triangle area comparison (classes) 2. \( \} \) Puin your program as often as you'd nke before submitting for grading Below, type any needed input values in the first box ther chck Run program and observe the programis output in the second box Filefs markedias read only. Current file: Triangle.cpp -


We have an Answer from Expert

View Expert Answer

Expert Answer


here i am providing the answer .hope it helps. please like. it helps me a lot. thank you for your requirements i have provided the indetail note:- as per chegg rules and regulations i have answered the question.(minimum no.of question this is the ans
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe