Factorial (factorial)
Factorial: n! is the product of the whole numbers from 1 to n.
How to write it
factorial(n)
- n
- A whole number, zero or more. Takes a whole number.
Examples
factorial(5)In the solver,
Open in the solverfactorial(5)gives120.
Factorial: n! is the product of the whole numbers from 1 to n.
factorial(5)In the solver, factorial(5) gives 120.