#include
Link will be apear in 30 seconds.
Well done! you have successfully gained access to Decrypted Link.
Question:

Answer:
CODE IN C:
#include <stdio.h>
int compute_factorial(int n){
if(n == 0 || n == 1)
return 1 ;
return n * compute_factorial(n-1) ;
}
int compute_c(int n, int r){
return compute_factorial(n) / (compute_factorial(n-r) * compute_factorial(r)) ;
}
int main()
{
// declaring int variables to store n and r
int n, r ;
// taking n and r as input from the user
printf("Enter n and r values: ");
scanf("%d%d",&n, &r);
// computing ncr usinig the function compute_c
int res = compute_c(n, r) ;
// displaying the result
printf("Combination of %d objects taken an a time %d is %d", n, r, res);
return 0;
}
OUTPUT:

google image upload