The operators

a.  Chapter 11 defined the class boxType by extending the definition of the class rectangleType. In this exercise, derive the class boxType from the class rectangleType, defined in Exercise 1, add the functions to overload the operators +, -, *, ==, !=, <=,><,>=, >, and pre- and post-increment and decrement operators as members of the class boxType. Also overload the operators < and=””>>. Overload the relational operators by considering the volume of the boxes. For example, two boxes are the same if they have the same volume.

b. Write the definitions of the functions of the class boxType as  defined in part a.

c. Write a test program that tests various operations on the class rectangleType.

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X