#include <iostream> using namespace std; class Cube { // write your code here...... public: void setLength(int length) { this->m_length = length; } void setWidth(int width) { this->m_width = width; } void setHeight(int height) { this->m_height = height; } int getLength() { return m_length; } int getWidth() { return m_width; } int getHeight() { return m_height; } int getArea() { return (m_height * m_length + m_height * m_width + m_length * m_width) * 2; } int getVolume() { return m_height * m_length * m_width; } int m_length; int m_width; int m_height; }; int main() { int length, width, height; cin >> length; cin >> width; cin >> height; Cube c; c.setLength(length); c.setWidth(width); c.setHeight(height); cout << c.getLength() << " " << c.getWidth() << " " << c.getHeight() << " " << c.getArea() << " " << c.getVolume() << endl; return 0; }