next odd number by croyal

integer i
1 read*,i
if(mod(i,2)==0) then
print'(i0)',i+1
else
print'(i0)',i+2
endif
goto1
end

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

download

return to the top page