Question: Need help with this computer program. Prefer C++, but any of the below types will work. Even psuedocode will work. File Types c, cpp, h,
Need help with this computer program. Prefer C++, but any of the below types will work. Even psuedocode will work.
File Types c, cpp, h, txt, java, zip, and py
Requirements:
Prompt the user for 2 numbers, n and r. Compute and show the values of each permutation and combination, both with and without repeats. Output should be the 4 numbers C(n,r) and P(n,r) for repeats and without repeats.
NOTE: when entering n and r, care should be taken with values above 8. Try to figure out why and how to work around it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
