Class to represent a box
| 3 | |
| 4 | // Class to represent a box |
| 5 | class Box |
| 6 | { |
| 7 | public: |
| 8 | Box() = default; |
| 9 | Box(double length, double width, double height); |
| 10 | |
| 11 | double volume(); // Function to calculate the volume of a box |
| 12 | |
| 13 | private: |
| 14 | double m_length{ 1.0 }; |
| 15 | double m_width{ 1.0 }; |
| 16 | double m_height{ 1.0 }; |
| 17 | }; |
| 18 | |
| 19 | int main() |
| 20 | { |
nothing calls this directly
no outgoing calls
no test coverage detected