Bank of America interview question

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