반응형 BoxIt1 [HackerRank] Box it! - easy https://www.hackerrank.com/challenges/box-it/problem Box It! | HackerRank Design a class named Box with overloaded operators. www.hackerrank.com class Box{ // The class should have the following functions : private: int l; int b; int h; public: // Constructors: Box() { l=0; b=0; h=0; } Box(int length,int breadth,int height) { l=length; b=breadth; h=height; } Box(const Box &ref) { l=ref.l; b=ref... 2019. 10. 23. 이전 1 다음 반응형