Pergunta de entrevista da empresa Bank of America

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