Question d’entretien chez Bank of America

All the questions are pretty much answerable. Write a program on factorial using recursive function.