Pregunta de entrevista de NxStage

Write a C++ function that solves a factorial