| 33 | { |
| 34 | public: |
| 35 | void display_area() |
| 36 | { |
| 37 | cout << "Area of triangle: " << 0.5 * base * height << endl; |
| 38 | } |
| 39 | }; |
| 40 | |
| 41 | // Rectangle class to calculate the area of rectangle |
nothing calls this directly
no outgoing calls
no test coverage detected