Wipro interview question

write a recursive factorial program