back to Command Reference
[All Models]
Returns the combination nCr for the values of n and r.
NCR ( n value , r value )
└──┬──┘ └──┬──┘
Numeric expression Numeric expression
X = NCR(70, 35)
10 N=8 : R=4
20 X = NCR(N, R)
30 PRINT X
Calculates 8C4 and displays the result.