Constructor
| 7 | public: |
| 8 | // Constructor |
| 9 | Box(double length, double width, double height) |
| 10 | { |
| 11 | std::cout << "Box constructor called." << std::endl; |
| 12 | m_length = length; |
| 13 | m_width = width; |
| 14 | m_height = height; |
| 15 | } |
| 16 | |
| 17 | // Function to calculate the volume of a box |
| 18 | double volume() |
nothing calls this directly
no outgoing calls
no test coverage detected