• [deleted]
    + 0 comments

    n % 2 is the condition.

    If the condition is true ( 1 also is true), then use n * 3,

    if not, then use n * 2.

    Example:

    n = 11;
    11 % 2 = 1 (there is a leftover),
    therefore 11 * 3