Catalan numbers/Pascal's triangle: Difference between revisions

Line 445:
say @.ip-@.i /*display the Ith Catalan number.*/
end /*i*/ /*stick a fork in it, we're done.*/</lang>
'''output'''{{Out}} when using the default input:
<pre>
1
Anonymous user