• nyoooom
    link
    fedilink
    341 year ago
    bool isEven(int num) {
     return num == 0 || !isEven(num - (num > 0 ? 1 : -1));
    }