Evaluate binomial coefficients: Difference between revisions
→{{header|APL}}: Add implementation.
(add gwbasic) |
(→{{header|APL}}: Add implementation.) |
||
Line 234:
end.</lang>
=={{header|APL}}==
When the factorial operator <tt>!</tt> is used as a dyad, it returns the binomial coefficient: <tt>k!n</tt> = <i>n</i> choose <i>k</i>.
<lang apl> 3!5
10</lang>
=={{header|AppleScript}}==
===Imperative===
|