使用递归查找数字的阶乘. C

使用递归查找数字的阶乘. C



正数 n 的阶乘由下式给出:

factorial of n (n!) = 1 * 2 * 3 * 4 *... * n

C example code

C

  Output result
Enter a positive integer: 6
Factorial of 6 = 720


.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