Professional Documents
Culture Documents
#include <iostream>
using namespace std;
// Constructor
Box(double lengthValue, double breadthValue, double heightValue)
{
cout << "Box constructor called" << endl;
length = lengthValue;
breadth = breadthValue;
height = heightValue;
}
int main()
{
Box firstBox(80.0, 50.0, 40.0);
return 0;