#include <iostream>
using namespace std;

int pow(int a , int b){
    if(b==0)
        return 1;
    return a*pow(a,b-1);
}

int main() {
    int a;
    cin>>a;
    int b;
    cin>>b;
    cout<<pow(a,b);
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: