Question d’entretien chez OSIsoft

Code a function to find the factorial