Servermaster
20th November 2011, 02:51 AM
#include // is a declaration of basic standart input-output library
#include // is a declaration of mathematical function
class menu{
float x,y;
public:
menu (float,float);
~menu ();
float LL() {return (3.14*x*x); }
float K() {return (x/y); }
float P() {return (x/(y*y)); }
float S() {return (0.5 * x *y);}
float PP() {return (x*y);}
float KBS() {return (x*x*x);}
float B() {return (4*3.14*x*x);}
};
menu::menu (float data1, float data2) {x = data1; y = data2;};
menu::~menu() {cout
#include // is a declaration of mathematical function
class menu{
float x,y;
public:
menu (float,float);
~menu ();
float LL() {return (3.14*x*x); }
float K() {return (x/y); }
float P() {return (x/(y*y)); }
float S() {return (0.5 * x *y);}
float PP() {return (x*y);}
float KBS() {return (x*x*x);}
float B() {return (4*3.14*x*x);}
};
menu::menu (float data1, float data2) {x = data1; y = data2;};
menu::~menu() {cout