procedure main() every i := 1 to 10 do { if i % 2 = 0 then next writes(i, " ") }end
Standard input is empty
1 3 5 7 9
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!