Pascal's triangle: Difference between revisions
Content added Content deleted
(→{{header|Perl 6}}: rearrange, categorize & clean up the solutions) |
m (→{{header|REXX}}: removed OVERFLOW from PRE html tags.) |
||
Line 2,474: | Line 2,474: | ||
!: procedure; arg x;!=1;do j=2 to x;!=!*j;end;return ! /*calc. factorial*/</lang> |
!: procedure; arg x;!=1;do j=2 to x;!=!*j;end;return ! /*calc. factorial*/</lang> |
||
'''output''' when the input was given as: <tt> 11 </tt> |
'''output''' when the input was given as: <tt> 11 </tt> |
||
<pre> |
|||
<pre style="overflow:scroll"> |
|||
1 |
1 |
||
1 1 |
1 1 |
||
Line 2,488: | Line 2,488: | ||
</pre> |
</pre> |
||
'''output''' when the input was given as: <tt> 22 </tt> |
'''output''' when the input was given as: <tt> 22 </tt> |
||
<pre style="height:30ex |
<pre style="height:30ex"> |
||
1 |
1 |
||
1 1 |
1 1 |