It's a simple for loop, but the tricky part is the exponentiation. You can't do (em/el)^1/3*100 directly. Instead, you will have to use the fact that a^x = e^[ x log a ]. You have to include math.h to get the log( ) and the exp( ) functions. And when you compile it, you will need to use the -lm option (assuming you're in a command-line Unix/Linux environment).
Answers & Comments
Verified answer
It's a simple for loop, but the tricky part is the exponentiation. You can't do (em/el)^1/3*100 directly. Instead, you will have to use the fact that a^x = e^[ x log a ]. You have to include math.h to get the log( ) and the exp( ) functions. And when you compile it, you will need to use the -lm option (assuming you're in a command-line Unix/Linux environment).