Loops/Nested: Difference between revisions
→{{header|TI-83 BASIC}}: Section added
Walterpachl (talk | contribs) m (→{{header|NetRexx}}: REXX performance added) |
PatGarrett (talk | contribs) (→{{header|TI-83 BASIC}}: Section added) |
||
Line 2,295:
6 11 11 4 11,
7 14 20 done</pre>
=={{header|TI-83 BASIC}}==
<lang ti83b>
PROGRAM:LOOP
(A,B)→dim([C])
For(I,1,A)
For(J,1,B)
int(rand*20+1)→[C](I,J)
End
End
For(I,1,A)
For(J,1,B)
Disp [C](I,J)
If [C](I,J)=20
Then
Stop
End
End
End
3→A:4→B
prgmLOOP
</lang>
http://rosettacode.org/wiki/Loops/Nested
=={{header|TI-89 BASIC}}==
|