Although no C function is written particularly for computing factorials, the C math package allows you to compute the gamma function. Because (n) Equals (n-1)!
Using tgamma of i+1 on positive integers returns i!.
for (int i = 1 ; ...READ MORE
Aug 2, 2022
in C++
by
Damon
• 4,960 points
•
8,088 views