Previous Up Next

5.7.1  Factorial: factorial !

factorial (prefix) or ! (postfix) takes as argument an integer n.
factorial(n) or n! returns n!.
Input:

factorial(10)

or

10!

Output:

3628800

Previous Up Next