On 6/23/06, Mat Schaffer <schapht / gmail.com> wrote:
> Anyone have any critique on this one?
>
>                              1
>                           1     1
>                        1     2     1
>                     1     3     3     1
>                  1     4     6     4     1
>               1     5    10    10     5     1
>            1     6    15    20    15     6     1
>         1     7    21    35    35    21     7     1
>      1     8    28    56    70    56    28     8     1
>  1     9    36    84    126   126   84    36     9     1
A)  --- -- -- -- ... (spaces between the ones) .. -- -- -
B)       ^^    ^^    ^^                ^^    ^^    ^^

A) The amount of horizontal space between the ones on the top "edge"
of the triangle isn't consitent for the last row. All the other rows
have two spaces (three characters with the one) per column, but the
lead and final columns for the last row are off.

B) It looks like you're intending to right align all the columns, and
it's working for the first rows, but for the last row the alignment is
off for all the numbers with fewer than three digits. My first thought
was that you were just missing one leading space on the whole row, as
adding one fixes the both (A) and the alignment for all the one and
two digit numbers -- but then the alignment on the 126's is off.

Jacob Fugal