Pregunta de entrevista de OSIsoft

Code a recursive method for calculating factorial