JavaScript Programme To Calculate Factorial

preview_player
Показать описание
Presented by: Aakash Biswas

Duration: 8.45 minutes

A factorial is the product of an integer and all the intergers below it.
The number has to be a positive integer which is greater than 0.
The factorial of 0! = 1
The formula to calculate factorial is: n! = n × (n-1)!
Example: 4! = 4 × 3 × 2 × 1 = 24
Рекомендации по теме
visit shbcf.ru