Anybody please give me programm to find factorial of an integer

Skilled contributor
30May2010,07:58   #1
unni krishnan.r's Avatar
Anybody please give me programm to find factorial of an integer Please help me
Go4Expert Founder
30May2010,09:43   #2
shabbir's Avatar
Have you done anything?
Go4Expert Member
30May2010,12:32   #3
ajit_pimg's Avatar
visit this site
Pro contributor
30May2010,13:22   #4
virxen's Avatar
Code:
long int factorial(int n)
 {
  if (n<=1)
    return(1);
  else
    n=n*factorial(n-1);
    return(n);
 }
Skilled contributor
30May2010,13:55   #5
unni krishnan.r's Avatar
Quote:
Originally Posted by shabbir View Post
Have you done anything?
Studing not as expert as you
and