Loops/While: Difference between revisions
Content added Content deleted
m (Category:Conditional loops) |
(added Inform 7 solution) |
||
Line 262: | Line 262: | ||
==={{header|Unicon}}=== |
==={{header|Unicon}}=== |
||
This Icon solution works in Unicon. |
This Icon solution works in Unicon. |
||
=={{header|Inform 7}}== |
|||
<lang inform7>let N be 1024; |
|||
while N > 0: |
|||
say "[N][line break]"; |
|||
let N be N / 2;</lang> |
|||
=={{header|J}}== |
=={{header|J}}== |