Question: Use the first example above ( Operator Overloading C + + ) and extend it by overloading the subtraction operator - and the multiplication operator

Use the first example above (Operator Overloading C++) and extend it by overloading the subtraction operator - and the multiplication operator *.
Create an example that makes sense for these two new overloaded operators and include in your comments around their use why the example makes sense. So you are looking to make it so that you can use + plus * and - for shape.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!