Pregunta de entrevista de Bank of America

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