Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- #include <math.h>
- using namespace std;
- int main () {
- int
- x,y,z;
- cout<<"X = ";
- cin>>x;
- cout<<"Y = ";
- cin>>y;
- z = pow(x,y);
- cout<<"Result= "<<z<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement