Tech Mahindra Interview Question

Write a Code (Any Language) to find out Factorial of a Number..?