sqrt 4

need help in task .
Write a function that accepts a real value (non-negative) and returns the fourth root of the number.
example: if z^4=x ,z is fourth root of x

double root4(double f)
i dont know how to do this
Last edited on
include math.h to use sqrt function.
Last edited on
You need xΒΌ or x0.25
Use the pow() function.
tnx for your help i succed
Topic archived. No new replies allowed.