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"
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"
If you mean in XCode, you have to #include <math.h>
and then you can use pow
:
double res=pow(10, 1.5);