#include
class Box
{
public:
Box(double t )
{
a=t;
volume=0.0;
area=0.0;
}
double seta(double i )
{
a=i;
return a;
}
double getvolume()
{
volume=a*a*a;
return volume;
}
double getarea()
{
area=6*a*a;
return area;
}
void disp()
{
getvolume();
getarea();
cout