8 Factorial Calculator Code Example Get link Facebook X Pinterest Email Other Apps July 16, 2016 Example: calculate factorial int factorial(int n) { int res = 1, i; for (i = 2; i <= n; i++) res *= i; return res; } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment