Jump to content

Loops/While: Difference between revisions

m (Category:Simple, {{out}} / Category to top)
Line 1,518:
set i [expr {$i / 2}]
}</lang>
 
=={{header|TeX}}==
 
<lang TeX>
\newcount\rosetta
\rosetta=1024
\loop
\the\rosetta\endgraf
\divide\rosetta by 2
\ifnum\rosetta > 0
\repeat
\bye
</lang>
 
=={{header|TI-83 BASIC}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.