Anonymous user
Evaluate binomial coefficients: Difference between revisions
Added a general comment.
(Implementation doesn't work properly. Remove until further notice.) |
(Added a general comment.) |
||
Line 1,755:
=={{header|Nim}}==
Note that a function to compute these coefficients, named “binom”, is available in standard module “math”.
<lang nim>proc binomialCoeff(n, k: int): int =
result = 1
|