Loops/Do-while: Difference between revisions
Content deleted Content added
Line 593: | Line 593: | ||
PRINT a |
PRINT a |
||
UNTIL a MOD 6 = 0</lang> |
UNTIL a MOD 6 = 0</lang> |
||
==={{header|COMMODORE BASIC}}=== |
|||
<lang basic>50 rem does not have do-while simultate using for-next |
|||
100 x=0 |
|||
120 for b=-1 to 0 step 0 |
|||
130 x=x+1 |
|||
140 b=x/6<>int(x/6) |
|||
150 print x |
|||
160 next x |
|||
</lang> |
|||
==={{header|IS-BASIC}}=== |
==={{header|IS-BASIC}}=== |