China Naming Network - Ziwei Dou Shu - How to open the fifth power of C language?
How to open the fifth power of C language?
# include & ltstdio.h & gt
# include & ltmath.h & gt
int main()
{
Double p, n;
while( scanf("%lf%lf ",& ampn & amp; P) == 2) //n is the number of roots, and p is the number of required roots.
printf("%。 lf\n ",pow(p, 1/n));
Returns 0;
} If the landlord requires the 5th root of 32, you can enter 5? 32
PS: You can ask if you don't understand.