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