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