Created
May 3, 2016 16:51
-
-
Save alonzoibarra97/c19048797e4b8af1ad6ca5454ca7f346 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
int sppw(long double num1, long double num2){ | |
long double producto; | |
producto= pow(num1,num2); | |
cout<< producto; | |
return 0; | |
} | |
int main () { | |
long double num11,num22, resultado; | |
cout<< "This programe will raise one number to another you write\n" ; | |
cout<<"Give me te first number"<< endl; | |
cin>> num11; | |
cout<< "Give me the second number"<< endl; | |
cin>>num22; | |
resultado= sppw(num11,num22); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment