Example: Finding the factorial of the number