Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardonewton committed Oct 9, 2015
0 parents commit c7ae8fe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
@@ -0,0 +1,21 @@
#include <iostream>
using namespace std;
long superpower(long x, long y)
{
long number=1;
long z;
for(z=0 ; z<y; z++)
{
number *=x;
}
return number;
}
int main(){
int q;
int w;

cin>>q;
cin>>w;
cout<<superpower(q,w);}
return 0;
}

0 comments on commit c7ae8fe

Please sign in to comment.