Sorry for my late answer...

As concern with the first "quiz"...
The function implements a "not-so-exact" recursive computation of the factorial of ''numberone''.
I called it "not-so-exact" for two reasons.
First, if called with a integer actual parameter equal to zero, the function won''t return anything (clever compilers issue a warning for this

).
Second, ''int'' values can be negative. The factorial of a negative number is NOT defined.
To solve this secondary problem the programmer should either add a piece of "valid argument checking" code or (better) set the formal argument type to "unsigned int" (and the return value type, too).
Just my $0.02...
[
home page] [
e-mail]
---
"Lifting shadows off a dream once broken
She can turn a drop of water into an ocean"