Question

i am working on an apps for calculating fuel...

i need to know how i can power a number in 10?

the Excel code is "10^1.5"

Was it helpful?

Solution

If you mean in XCode, you have to #include <math.h> and then you can use pow:

double res=pow(10, 1.5);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top