class Cube
{
	double dArea, dVolume, dLength, dWidth, dHeight;
	
	public Cube(double dLength, double dWidth, double dHeight)
	{
		this.dLength = dLength;
		this.dWidth = dWidth;
		this.dHeight = dHeight;
	}
	
	
	public double calcArea()
	{
		dArea = (dLength * dWidth) + (dLength * dHeight) + (dWidth * dHeight);
		
		dArea = dArea * 2;
		
		return dArea;
	}

	public double calcVolume()
	{
		dVolume = (dLength * dWidth * dHeight);
		
		return dVolume;
	}

}