Question d’entretien chez Panasonic

write a function about factorial