Question: Answer the following in C++ please, thank you. Exercise 021 Using the definitions of the classes RectangularLot and Lot4Sale of exercise O11, we define function
Answer the following in C++ please, thank you.


Exercise 021 Using the definitions of the classes RectangularLot and Lot4Sale of exercise O11, we define function helper( ) as follows: void helper ( RectangularLot lot) \{ \{ And the object myLot, yourLot, and hisLot as follow: RectangularLot myLot( 30, 200), hisLot; Lot4Sale yourLot (50, 100, 2000); Execute the following statements and show their output: a. myLot.print ( ) ; b. yourLot.print ( ) c. helper ( myLot); d. helper ( yourLot); e. hisLot =Lot4Sale(40,150,3000); hisLot.print( )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
