Mathematics - Factorial

Table of Contents


The factorial of a non-negative integer x is equal to the product of all integers less than or equal to x and greater than zero.

For example: factorial(4) would equal 4 * 3 * 2 * 1, which is 24.

In factorial, things are NOT repeated.

Powered by ComboStrap