- 2
Geometric forms
using inheritance perimeter/area??
2 Answers
+ 5
It is the example given for inheritance on many a website.
http://www.cplusplus.com/doc/tutorial/inheritance/
+ 3
I think it would take longer to tell me what to find...just search Codes with words like: 'shapes', 'circle', 'diameter' then skim the icons for your language: Java, c++, c#...
Point is, SoloLearn has examples...hopefully enough inspiration to quickly write your own.
'shapes' - first ~15 results (just for inspiration):
https://code.sololearn.com/c8L9NNHNDUKO/?ref=app
https://code.sololearn.com/c0kyWkyxxIqA/?ref=app