RosettaCodeData/Task/Loops-For-with-a-specified-step/Fantom/loops-for-with-a-specified-step.fantom

12 lines
138 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
class Main
{
public static Void main ()
{
Int step := 5
for (Int i := 0; i < 100; i += step)
{
echo (i)
}
}
}