kumikill
3/23/2016 - 12:32 PM

Returns the factorial of a given integer.

Returns the factorial of a given integer.

int Factorial(int n) =>
    n == 0 || n == 1 ? 1 : n * Factorial(n - 1);