#include #include class pow { int a,b; public: void getdata(void); int power(int,int); void putdata(void); }; int pow::power(int a, int b) { long int p=a; for(int i=1;i>a; cout<<"\nEnter the value of power to be raised: "; cin>>b; }; void pow::putdata(void) { cout<<"\nThe power of "<