Can anyone tell, how can i write that program in C++, its little bit Object oriented programming related... but i really need to develop logic in C++
Here is the statement:
Write three classes names: circle, square and triangle, derived from class shape. Write down a function named intersect in an appropriate class which will take two of the shapes as parameters and tell whether they overlap or not.
Thanks in Advance..
Regards
Umar