Question: Objective Recursive Functions Project The formula for number of combinations that result from choosing r different items from a set of size n is C(n,

Objective Recursive Functions Project The formula for number of combinations that result from choosing r different items from a set of size n is C(n, r) = n!/r!(n - r)! where the factorial notation is defined as n! = n(n - 1) (n - 2) .. 2 middot 1 Develop a recursive version of the combinations formula C(n, r) and write a recursive function that computes the value of the formula. Add the function as a subfunction of a driver function that tests it. Overall you project will consist of the project function, the printHeader function, an input function that will prompt the user for n and r and error check that r lessthanorequalto n, your recursive combinations function, and an output function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
