Loops/Nested: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) (→{{header|Scilab}}: Section added) |
PatGarrett (talk | contribs) m (→{{header|Scilab}}: Blanks suppressed) |
||
Line 2,043: | Line 2,043: | ||
=={{header|Scilab}}== |
=={{header|Scilab}}== |
||
{{works with|Scilab|5.5.1}} |
{{works with|Scilab|5.5.1}} |
||
⚫ | |||
<lang> |
|||
⚫ | |||
ni=3;nj=4 |
ni=3;nj=4 |
||
for i=1:ni |
for i=1:ni |
||
Line 2,053: | Line 2,052: | ||
printf("\n") |
printf("\n") |
||
if t(i,j)==11 then break; end |
if t(i,j)==11 then break; end |
||
end |
end</lang> |
||
</lang> |
|||
{{out}} |
{{out}} |
||
⚫ | |||
<pre style="height:20ex"> |
|||
⚫ | |||
5 6 7 8 |
5 6 7 8 |
||
9 10 11 |
9 10 11 </pre> |
||
</pre> |
|||
=={{header|Seed7}}== |
=={{header|Seed7}}== |