Question d’entretien chez NTT DATA

Write a program to find factorial.