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.
Thursday, May 20, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment