DXC Technology Interview Question

write a program to find factorial of a number?