Factorial of a number is equal to the product of the number and all the positive numbers below it.
Factorial of a number is denoted as n!.
for example Factorial of 7 is denoted as 7!.
7! = 7*6*5*4*3*2*1
7! = 5040
also 0! is 1 according to the convention of empty product.
To know more about factorials click here
You might also be interested in
Factorial of a number is denoted as n!.
for example Factorial of 7 is denoted as 7!.
7! = 7*6*5*4*3*2*1
7! = 5040
also 0! is 1 according to the convention of empty product.
To know more about factorials click here
C Program
C++ Program
Sample input and output to check the program
You might also be interested in
Comments
Post a Comment