查找阶乘. C++

查找阶乘. C++



5! = 1 * 2 * 3 * 4 * 5 = 120
嗯! = 1 * 2 * 3 * ... * n
嗯! = 1 如果 n = 0 或 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