Sunday, 15 January 2012
Program To Find Power Of Number In C++
#include<iostream.h>
#include<conio.h>
#include<math.h>
main()
{
clrscr();
float x,y,z;
cout<<"Enter number";
cin>>x;
cout<<"Enter power";
cin>>y;
z=pow(x,y);
cout<<z;
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment