Question d’entretien chez Accenture

Write a program to find factorial.