mate icon indicating copy to clipboard operation
mate copied to clipboard

calculate factorial numbers

Open onurhan1337 opened this issue 1 year ago • 1 comments

In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. The factorial n! also equals the product of n with the next smaller factorial.

So how does factorial computing work? Example;

5! = 5 * 4 * 3 * 2 * 1 = 120

onurhan1337 avatar Nov 23 '22 18:11 onurhan1337