C Program to find nCr

This program finds the NCR ( to calculate combinations). The program displays the output when the values of n and r are provided. We have also created a function called facto to find the factorial of a number.
The equation is nCr = n! / r! * (n - r)!


Comments