Pergunta de entrevista da empresa Cognizant

write a program to find factorial of a number