Comment on I wish

Rentlar@lemmy.ca ⁨7⁩ ⁨months⁩ ago

They call me a StackOverflow expert:

private bool isEven(int num) {
if (num == 0) return true;
if (num == 1) return false;
if (num < 0) return isEven(-1 * num);
return isEven(num - 2);
}

source
Sort:hotnewtop