Question: Write a C++ program to prompt the user for 2 numbers, n and r. Calculate and show the values of each permutation and combination with
Write a C++ program to prompt the user for 2 numbers, n and r. Calculate and show the values of each permutation and combination with repitiion and without repition. Output should be the 4 numbers C(n,r) and P(n,r) for repition and without repition.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
