Multiplication tables: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) (→{{header|Scilab}}: Section added) |
PatGarrett (talk | contribs) |
||
Line 2,596: | Line 2,596: | ||
=={{header|Scilab}}== |
=={{header|Scilab}}== |
||
{{works with|Scilab|5.5.1}} |
{{works with|Scilab|5.5.1}} |
||
<lang> |
<lang> nmax=12, xx=3 |
||
nmax=12, xx=3 |
|||
s= blanks(xx)+" |" |
s= blanks(xx)+" |" |
||
for j=1:nmax |
for j=1:nmax |
||
Line 2,618: | Line 2,617: | ||
end |
end |
||
printf("%s\n",s) |
printf("%s\n",s) |
||
end |
end</lang> |
||
</lang> |
|||
{{out}} |
{{out}} |
||
⚫ | |||
<pre style="height:20ex"> |
|||
⚫ | |||
--- + --- --- --- --- --- --- --- --- --- --- --- --- |
--- + --- --- --- --- --- --- --- --- --- --- --- --- |
||
1 | 1 2 3 4 5 6 7 8 9 10 11 12 |
1 | 1 2 3 4 5 6 7 8 9 10 11 12 |
||
Line 2,635: | Line 2,632: | ||
10 | 100 110 120 |
10 | 100 110 120 |
||
11 | 121 132 |
11 | 121 132 |
||
12 | 144 |
12 | 144</pre> |
||
</pre> |
|||
=={{header|Seed7}}== |
=={{header|Seed7}}== |