代码:double mypow( double x, int n )
{
float s=1;
int i;
for(i=0;i<n;i++)
{
s=s*x;
}
return s;
}
代码:double mypow( double x, int n )
{
float s=1;
int i;
for(i=0;i<n;i++)
{
s=s*x;
}
return s;
}