| 3 | #include "Carton.h" // For the Carton class |
| 4 | |
| 5 | int main() |
| 6 | { |
| 7 | Carton carton; |
| 8 | Carton candyCarton{50.0, 30.0, 20.0, "SBB"}; // Solid bleached board |
| 9 | |
| 10 | std::cout << "carton volume is " << carton.volume() << std::endl; |
| 11 | std::cout << "candyCarton volume is " << candyCarton.volume() << std::endl; |
| 12 | } |