This is what I have so far. This program should contain a recursive function that will compute the binomial coefficient according to the definition if k=0 or k=n
#include <iostream>
#include <algorithm>
using namespace std ;
int C(int n,int k)
{
if (k < 0 || k > n )
return 0;
if (k == 0 && n == 0)
return 1;
else return C(n -1,k) + C(n -1,k -1);
}
int main(){