next odd number by croyal

do
input""a
if a=0 end
if(mod(a,2)=0)then
print a+1
else
print a+2
endif
loop

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page