Compute n! for non-negative integers, with honest rejection of negative and fractional inputs.
Category: Education · Math.