using namespace std;
#include <iostream>
#include <math.h>
int main()
{
cout<<"www.moznum.blogspot.com"<<endl<<endl;
float a,b;
cout<<"Enter base: ";
cin>>a;
cout<<"Enter exponent: ";
cin>>b;
cout<<a<<" power "<<b<<" = "<<pow(a,b)<<endl;
return 0;
}
You can also search this topic by :
No comments:
Post a Comment