Bank of America Interview Question

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