Thursday, May 20, 2010

Pure Virtual Function

Share Orkut
20. Implement the base class polygon and derive triangle, rectangle and square classes from it. Implement functions to compute area and perimeter of the polygon. Use the concept of pure virtual functions.

No comments:

Post a Comment