// A simple class using a constructor
// Date 20:16 31/10/2016
// By Ben a.k.a DreamVB

#include <iostream>

using namespace std;
using std::cout;
using std::endl;

class CBox{
	public:
		double m_length = 0;
		double m_width = 0;
		double m_height = 0;

		CBox(double length, double width, double height){
			m_length = length;
			m_width = width;
			m_height = height;
		}
		double Volume(){
			return m_length*m_width*m_height;
		}
};

int main(int argc, char *argv[]){
	CBox box(20, 20, 20);

	cout << "Length : " << box.m_length << endl;
	cout << "Width  : " << box.m_width << endl;
	cout << "Height : " << box.m_height << endl;
	cout << "Volume : " << box.Volume() << endl;

	system("pause");
	return 0;
}
