Encontrar fatorial. C++

Encontrar fatorial. C++



5! = 1 * 2 * 3 * 4 * 5 = 120
n! = 1 * 2 * 3 * ... * n
n! = 1 se n = 0 ou n = 1
C++ example code

C++

  Output result
Enter a positive integer: 12
Factorial of 12 = 479001600


.dll file is missing? Download for Windows 7, 8, 10 - Fix .dll file Missing Error on Windows | dll-box.com

BeeCoder.ORG

open source code and examples

We have been online since 2021 and 1 millions of people around the globe have visited our website since then

More visitors every month