using namespace std;
#include <iostream>
CalcVolumeArea( double length, double width, double height, double * volume, double * area)
{
*volume = length*width*height;
*area = 2*(length*width + length*height + width*height);
}
int main()
{
double length,width,height,volume,area;
cout << " Please input the length :>";
cin >> length;
cout << "Please input the width :>";
cin >> width;
cout << "Please input the height :>";
cin >> height;
CalcVolumeArea(length,width,height,&volume,&area);
cout << "Length is " << length << endl;
cout << "Height is " << height << endl;
cout << "Width is " << width << endl;
cout << "Volume is " << volume << endl;
cout << "Area is " << area << endl;
}