Information

 Author(s) Mathieu Xhonneux Deadline No deadline Submission limit No limitation Category tags Level 1, S1

Tags

The factorial of an integer n! is defined as n! = 1*2*3*...*(n-1)*n, with 0! = 1.
Write your own function factorial which takes as parameter an integer and returns an integer value. Your function must be named factorial.