Multiplication tables: Difference between revisions

Content added Content deleted
Line 970: Line 970:
└──┴────────────────────────────────────────────────┘</lang>
└──┴────────────────────────────────────────────────┘</lang>


That said, note that <code>*/~</code> is the core primitive used to construct a multiplication table and this is a general technique so that, for example, <code>+/~</code> would make an addition table. The rest is just to make it look pretty (and to blank out the lower triangle -- we use a greater than or equal table (<code><:/~</code>) to control that).
That said, note that <code>*/~</code> is the core primitive used to construct a multiplication table and this is a general technique so that, for example, <code>+/~</code> would make an addition table. The rest is just to make it look pretty (and to blank out the lower triangle -- we use a less than or equal table (<code><:/~</code>) to control that).


=={{header|Java}}==
=={{header|Java}}==