i=1while i<=100 do i = i+1 if i%10 == 0 then print(i) endend
Standard input is empty
10 20 30 40 50 60 70 80 90 100
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!