Factorial is a mathematical operation denoted by the exclamation mark (!) symbol. It is used to calculate the product of all positive integers less than or equal to a given positive integer.
For example, the factorial of 5 is calculated as:
5! = 5 x 4 x 3 x 2 x 1 = 120
Factorial
1 answer