factorial recursion c# code example
Example: c# recursion formula for the factorial
int factrec(int y){
if(y==1)
return 1
else
return y*factrec(y-1)
}
int factrec(int y){
if(y==1)
return 1
else
return y*factrec(y-1)
}