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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!