Question d’entretien chez Cognizant

write a code for factorial by taking input from user, use recursion.