- 2

Geometric forms

using inheritance perimeter/area??

6th Jun 2017, 11:47 PM
Gopal Varma Gottimukhala
Gopal Varma Gottimukhala - avatar
2 Réponses
+ 5
It is the example given for inheritance on many a website. http://www.cplusplus.com/doc/tutorial/inheritance/
7th Jun 2017, 2:29 AM
jay
jay - avatar
+ 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
7th Jun 2017, 1:04 AM
Kirk Schafer
Kirk Schafer - avatar