Computer Science, asked by ananya777, 1 year ago

write an algorithm that calculate the factorial of a number

Answers

Answered by mohitevikrant52
2
If a number n
then the factorial of that number is
n \times (n - 1)

for example
n = 5
Then the factorial is
5 \times (5 - 1)
Similar questions