Showing posts with label
Power Of a Number
.
Show all posts
Showing posts with label
Power Of a Number
.
Show all posts
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();
}
Older Posts
Home
Subscribe to:
Posts (Atom)