Hello
Im trying to write a programe that requies something to the power os something. for example
(1+x/100)^n
in java there is a class called Math.pow(a,x)
which does a^x
Is there such a thing in C.
Forgive me Im a newbie to C
TyrioN
Hello
Im trying to write a programe that requies something to the power os something. for example
(1+x/100)^n
in java there is a class called Math.pow(a,x)
which does a^x
Is there such a thing in C.
Forgive me Im a newbie to C
TyrioN
yeppers include <math.h>
then
Code:pow(num1,num2)
Woop?
Yeah - if you have a look, there is a post 'exponents' from a day or so ago about the pow() function, in case you are still not clear about its usage.
~/