سلام این سوال و اونم کد منه چه مشکلی داره؟؟؟
#include <iostream>
#include <iomanip>
using namespace std;
float mypow(long double x,unsigned int y){
long double l;
if(y==1){ retu x;
} else { l=x*x+l; mypow(l,y-1); retu l; }
}
int main()
{
long double a,c=0;
unsigned int b;
cin>>a>>b;
c=mypow(a,b); cout<< fixed<<setprecision(3)<<c;
}
