Find the number of combinations of n distinct objects taken r at a time nCr.
An integer n denoting the number of distinct objects.
This will be followed by an integer r denoting the number of objects to be taken at a time.
An integer denoting the value of nCr.
We know nCn = nC0 = 1 and nC1 = n. Also nCn = (n-1)C(r-1) + (n-1)Cr