Evaluate binomial coefficients: Difference between revisions

Added Arturo implementation
m (→‎{{header|Phix}}: added syntax colouring the hard way)
(Added Arturo implementation)
Line 339:
{{Out}}
<pre>{10, 10}</pre>
 
=={{header|Arturo}}==
 
<lang rebol>factorial: function [n]-> product 1..n
binomial: function [x,y]-> (factorial x) / (factorial y) * factorial x-y
 
print binomial 5 3</lang>
 
{{out}}
 
<pre>10</pre>
 
=={{header|AutoHotkey}}==
1,532

edits