Multiplication tables: Difference between revisions

Content added Content deleted
Line 5,637: Line 5,637:
def tab 9 tochar print enddef
def tab 9 tochar print enddef


tab 12 for print tab endfor nl
tab 10 tcolor
12 for print tab endfor nl
tab '-' 12 8 * repeat print nl
12 for 10 tcolor
12 for
dup print tab 15 tcolor
dup print tab 8 tochar print "|" print
dup for
dup for
over * print tab
over * print tab
Line 5,648: Line 5,648:
{{out}}
{{out}}
<pre> 1 2 3 4 5 6 7 8 9 10 11 12
<pre> 1 2 3 4 5 6 7 8 9 10 11 12
------------------------------------------------------------------------------------------------
1 1
2 2 4
1 |1
3 3 6 9
2 |2 4
4 4 8 12 16
3 |3 6 9
5 5 10 15 20 25
4 |4 8 12 16
6 6 12 18 24 30 36
5 |5 10 15 20 25
7 7 14 21 28 35 42 49
6 |6 12 18 24 30 36
8 8 16 24 32 40 48 56 64
7 |7 14 21 28 35 42 49
9 9 18 27 36 45 54 63 72 81
8 |8 16 24 32 40 48 56 64
10 10 20 30 40 50 60 70 80 90 100
9 |9 18 27 36 45 54 63 72 81
11 11 22 33 44 55 66 77 88 99 110 121
10 |10 20 30 40 50 60 70 80 90 100
12 12 24 36 48 60 72 84 96 108 120 132 144
11 |11 22 33 44 55 66 77 88 99 110 121
12 |12 24 36 48 60 72 84 96 108 120 132 144


=== Press any key to exit ===</pre>
=== Press any key to exit ===</pre>