| 6 | #include "Box.h" |
| 7 | |
| 8 | void show(const Box& box) |
| 9 | { |
| 10 | std::cout << std::format("Box({:.1f}, {:.1f}, {:.1f})", |
| 11 | box.getLength(), box.getWidth(), box.getHeight()); |
| 12 | } |
| 13 | void show(const Box& box1, std::string_view relationship, const Box& box2) |
| 14 | { |
| 15 | show(box1); std::cout << relationship; show(box2); std::cout << std::endl; |