Using the Point class write a composite class called Triangle. The Triangle class will have three-point objects
Fantastic news! We've Found the answer you've been seeking!
Question:
Using the Point class write a composite class called Triangle. The Triangle class will have three-point objects as its data members (to store three vertices of a triangle object). The class should have a constructor, a function to compute area of a triangle and a print function.
Related Book For
Using Financial Accounting Information The Alternative to Debits and Credits
ISBN: 978-1285183237
9th edition
Authors: Gary A. Porter, Curtis L. Norton
Posted Date: