a 'challenge' question by my teacher asks me to look in my C++ book,
and do a question. it asks me to:
write a function powfun() and make it raise an integer number passed to it to a positive integer power and returns the result to the calling function. it then says declare variable used to return the result as a long integer type.
safe to say, im lost. any inputs would be appreciated.