Anonymous user
Pascal's triangle: Difference between revisions
→{{header|Icon}} and {{header|Unicon}}: fix
Line 726:
END</lang>
=={{header|Icon}} and {{header|Unicon}}==
The code below is slightly
<lang Icon>link math
procedure main(A)
every n := !A do { # for each command line argument
pascal(n)
}
end
Line 747 ⟶ 750:
[http://www.cs.arizona.edu/icon/library/src/procs/pascal.icn math provides the original version of pascal]
Sample output:<pre>
1
1 1
1 2 1
1 3 3 1</pre>
=={{header|IDL}}==
|