#include <iostream>
using namespace std;
struct box
{
char maker[40];
float height;
float width;
float length;
float volume;
};
void show_box(box b1)
{
cout << b1.maker << b1.height << b1.width << b1.length << b1.volume << endl;
}
void show_box2(box *b1)
{
b1->volume = (b1->height) * (b1->length) * (b1->width);
cout << b1->maker << b1->height << b1->width << b1->length << b1->volume << endl;
}
void main()
{
box box_1
{
"i am struct ",2,3,5,0
};
show_box(box_1);
show_box2(&box_1);
cout<<"hello.."<<endl;
system("pause");
return ;
}