JAVA:
In response to the question and to the Dwaiku (Double-Haiku or whatever you wanna call it) posted by Quincunx in Java, here's the correct Haiku:
public static int factorial(int n) {
return (n==0) ? (n+1) : (factorial(n-1) * n);
}
JAVA:
In response to the question and to the Dwaiku (Double-Haiku or whatever you wanna call it) posted by Quincunx in Java, here's the correct Haiku:
public static int factorial(int n) {
return (n==0) ? (n+1) : (factorial(n-1) * n);
}