Hi

I'm asked to write two functions to find the factorial one using recursion and the other using loops.

the range of numbers which if have to output their factorials is 1 to 500(N)

after some time the computer won't be able to find the factorial .I have to output the

last value of N .

is there's anyway to output anything when the computer stops (when it ran's out of stacks )

??