Hey. I'm trying to learn C++... not very good at it though, at all. =/
I'm on lesson 16 and I REALLY just can't seem to get the solution to the challenge they've set...
Cprogramming.com Tutorial: Recursion
I really have tried and tried to work it out. But as I said, I'm not good at all, but I really am interested in this sort of stuff & computers.Quote:
This is just the beginning of the usefulness of recursion. Heres a little challenge, use recursion to write a program that returns the factorial of any number greater than 0. (Factorial is number*number-1*number-2...*1).
Any help please? Thanks.