struct Cuboid { class Cuboid { public: int length; int length; int width; int width; int height; int height; }; int area(Cuboid rt) { int area() { return 2*(rt.length*rt.width+ return 2*(length*width+ rt.width*rt.height+ width*leight+ rt.height*rt.length); height*length)); }; }