Welcome to day 9 of 30 Days of Code from Hacker Rank!
Complete the factorial function in the editor below. Be sure to use recursion.
factorial has the following parameter:
- int n: an integer
In order to showcase that it worked I did alter the code a little: