#include <iostream>
using namespace std;
class Cuboid
{
private:
	int length;
	int width;
	int height;
public:
	void set_value();
	void show_value();
	int volume();
};
int main()
{
	Cuboid t1;
	t1.set_value();
	t1.show_value();
	cout<<"the volume is "<<t1.volume()<<endl;
	Cuboid t2;
	t2.set_value();
	t2.show_value();
	cout<<"the volume is "<<t2.volume()<<endl;
	Cuboid t3;
	t3.set_value();
	t3.show_value();
	cout<<"the volume is "<<t3.volume()<<endl;
	return 0;
}
void Cuboid::set_value()
{
	cout<<"please input valume"<<endl;
	cin>>length;
	cin>>width;
	cin>>height;
}
void Cuboid::show_value()
{
	cout<<"length is "<<length<<endl;
	cout<<"width is "<<width<<endl;
	cout<<"height is "<<height<<endl;
}
int Cuboid::volume()
{
	return(length*width*height);
}