-
-
Notifications
You must be signed in to change notification settings - Fork 18
factorial
Vašek edited this page Feb 6, 2019
·
3 revisions
This function returns factorial of the given number
factorial(n)
Argument | Description |
---|---|
int n |
The given number |
Returns: int
The factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example:
int value = factorial(6);
This Function will set value
to 720.
Back to number_functions