Capgemini Engineering interview question

Pgm for Factorial using recursion.