[讨论] 帮助给修改一下
#include <iostream.h>
double qccf(int x,int y)
void main()
{
int t,x,y;
double c;
t=1;
cout<<"qingshuruxdezhi";
cin>>x;
cout<<"qingshuruxdezhi";
cin>>y;
c= qccf( x, y);
cout<<c<<endl;
}
qccf(int x,int y)
{if(y=1)
c=x;
else if(y>1)
{c=qccf(x,y)*x;
t++;
cout<<t<<endl;}
return(c);}
请各位老师给修改一下!!!!!
是递归 X 的Y次方!!!