Question: Write a recursive function called evenfact(n) which takes in a number and returns the factorial of the even numbers between the given number and 2.
Write a recursive function called evenfact(n) which takes in a number and returns the factorial of the even numbers between the given number and 2. For example: evenfact(4) returns 8, because 2*4=8 evenfact(9) returns 384, because 2*4*6*8=384
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
