Hugo_souhoka

square

Sep 25th, 2020
853
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <stdio.h>
  3. #include <math.h>
  4. using namespace std;
  5. int main () {
  6.      int
  7.      x,y,z;
  8.  
  9.     cout<<"X = ";
  10.         cin>>x;
  11.        
  12.     cout<<"Y = ";
  13.         cin>>y;
  14.        
  15.     z = pow(x,y);
  16.    
  17.     cout<<"Result= "<<z<<endl;
  18. }
  19.  
RAW Paste Data