hi everyone...just wanna say thanks for everyone that help me so far since i'm very new to C.

the problem asked to write a C function name root4() that returns the fourth root of the argument passed to it. in writing root4() use the sqrt() library function.

this is what i came up with and i feel like its wrong...please help..

#include<stdio.h>

#include<math.h>

double sqrt(double num);//function type

int main()

{

double num,total;

total = sqrt(4.0 + 7*3);

printf("\nthe 4th root is %lf", total);

return 0;

}

output:

the 4th root is 5.000000Press any key to continue