재귀를 사용하여 숫자의 계승 구하기. 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