Loops/For with a specified step: Difference between revisions
Add CLU
(Added solution for Action!) |
Not a robot (talk | contribs) (Add CLU) |
||
Line 937:
(doseq [i (range 0 12 2)]
(println i))</lang>
=={{header|CLU}}==
<lang clu>% This prints all odd digits
start_up = proc ()
po: stream := stream$primary_output()
for i: int in int$from_to_by(1, 10, 2) do
stream$putl(po, int$unparse(i))
end
end start_up</lang>
=={{header|COBOL}}==
|