Discussion in 'C' started by unni krishnan.r, May 30, 2010.

Anybody please give me programm to find factorial of an integer Please help me

Have you done anything?

visit this site

Code: long int factorial(int n) { if (n<=1) return(1); else n=n*factorial(n-1); return(n); }

long int factorial(int n) { if (n<=1) return(1); else n=n*factorial(n-1); return(n); }

Studing not as expert as you and

Separate names with a comma.