Alright, the book gave me a definition and I get it...I know what it supposed to do but I have no clue on how to use it...
well...the book says I can use it as power(base, exponent) = base*exponent
alright,
lets say i have a program looping 30 times...
then i say
if ( num <= 1)
return 1; //
else
return num * factorial( num - 1 ) //
}
can anyone tell me whats happening here? or fill in the comment slashes