Are you a master at math? Do you want to make other forum users suffer extreme brain farts? If so, then you came to the right place!
Put down a math problem and see if anyone guesses it right. [b]This is your opportunity to make our brains suffer![/b]
[spoiler]I am terrible at math[/spoiler]
-
Edited by Tringus: 3/29/2016 8:39:06 PMpublic class Easy { public int recursion (int x) { if (x == 0) return 0; else if ((x % 2) == 0) return 1 + recursion (x -1); else return 2 + recursion (x-1); } } What is returned by recursion(5)? Correct answer when someone gets it: [spoiler]8[/spoiler]