I was wondering how to calculate the third square root of a number. Or the nth square root of a number. Is there a function for it?

I know you can calculate the fourth square root like this:

But that only works for multiples of two.Code:#include <math.h> sqrt(sqrt(81));