Pergunta de entrevista da empresa NVIDIA

write a cpp program on factorial for which they provide you the template?