Find Factorial of a given Number 'N'

Given a number 'N', write a function to determine the factorial of the given number.



For Example:
If N = 5, Factorial of N is represented as
N! =  5 * 4 * 3 * 2 * 1
     = 120



Implementation:

Output:

Enter the no to find its factorial
5
Factorial of 5 is 120