Pregunta de entrevista de Tata Consultancy Services

write a code for factorial