Question d’entretien chez NatWest Group

Code a class which will work out factorials