Demo entry 3321753

first

   

Submitted by anonymous on Dec 14, 2015 at 20:14
Language: C. Code size: 109 Bytes.

void factorial(int n)
{
    if (n <= 0)
        return 1l
    else
        return n * factorial(n-1);
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).