What is recursion and can you explaining doing Factorial? static int factorial(int n){ your code goes here }
Anonymous
Google recursion, my answer should have been something like this but I messed up. if (n == 0){ return 1 } else { return n * factorial(n) }
Check out your Company Bowl for anonymous work chats.