Develop C ++ classes that describe shapes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Develop C ++ classes that describe shapes

It is necessary to develop in C ++ classes that describe the following figures: triangle, circle, rectangle, trapezoid, rhombus. For all classes of shapes, provide constructors, as well as methods for finding their area. Please help

19th Nov 2019, 8:45 AM
Aleks Black
Aleks Black - avatar
3 Answers
+ 2
Someone posted a similar question few days ago. This is an example for one class that I helped them with. Use this to build the rest of the shapes. https://code.sololearn.com/cAxs4QG5xUbT/?ref=app
19th Nov 2019, 10:08 AM
Avinesh
Avinesh - avatar
+ 2
Bring at least a code with what you already learnt and I can help you.
19th Nov 2019, 9:19 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
+ 1
Thanks
19th Nov 2019, 10:10 AM
Aleks Black
Aleks Black - avatar