Loops/For with a specified step: Difference between revisions

Content added Content deleted
No edit summary
Line 393: Line 393:
output += 'who do we appreciate?';
output += 'who do we appreciate?';
document.write(output);</lang>
document.write(output);</lang>

=={{header|Liberty BASIC}}==
<lang lb>
for i = 2 to 8 step 2
print i; ", ";
next i
print "who do we appreciate?"
end
</lang>


=={{header|Lisaac}}==
=={{header|Lisaac}}==