lab programs need to be solved.

Design and implement a c++ program to create a abstract class- shape to represent any shape in general. the class should have two pure virtual functions to read dimensions and to compute the area. Create three derived classes. CIRCLE, RECTANGLE. AND SQUARE by inheriting the features of class SHAPE. Implement the functions to read and compute the area. Add constructor, methods to display the result as required( Assume appropriate attributes).
Please note, that this is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attemts to solve this problem youself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find deriviative of function without knowledge in ariphmetics, you cannot do more complex tasks in programming without clear understanding of basics.
OK DONE...
Topic archived. No new replies allowed.