Jump to content

Pascal's triangle: Difference between revisions

m
Line 3,186:
1 4 6 4 1</syntaxhighlight>
 
However, multi-digit numbers take up additional space, which looks slightly odd,. butBut we can work around that by adding additional padding and shifting the lines a bit more:
 
<syntaxhighlight lang=J> require'format/printf'
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.