Write a class called quadrilateral. Your task is to store the length of all the sides of the quadrilateral and the value of the 2 opposite angles within the quadrilateral. Then implement member...


Write a class called quadrilateral. Your task is to store the length of all the sides of the quadrilateral and the value of the 2 opposite angles within the quadrilateral. Then implement member functions:


1. To compute the area of the quadrilateral.


2. To compute the parameter of the quadrilateral.


3. A constant function that will display the length of all the sides, the angles, the parameter of the quadrilateral and area of the quadrilateral.


4. Create setter and getter methods.


Demonstrate the use of the object in the main function. Make sure that the function names are meaningful and self-descriptive.



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here