| 22 | this->breadth = breadth; |
| 23 | } |
| 24 | Rectangle operator+(Rectangle &r2) |
| 25 | { |
| 26 | Rectangle temp; |
| 27 | temp.setLength(length + r2.length); |
| 28 | temp.setBreadth(breadth + r2.breadth); |
| 29 | return temp; |
| 30 | } |
| 31 | }; |
| 32 | // void function for the inputing data for class 'Rectangle' & uisng the overloading |
| 33 | void RectangleFirst() |
nothing calls this directly
no test coverage detected