what this function do please ? (java)
Posted
by user298146
on Stack Overflow
See other posts from Stack Overflow
or by user298146
Published on 2010-03-21T09:28:15Z
Indexed on
2010/03/21
9:31 UTC
Read the original article
Hit count: 123
java
public static int ABC(int x, int y)
{
if(y==0)
return(1);
else
return(x * ABC(x,y-1));
}
what this function do please ? factorial ?
© Stack Overflow or respective owner