RosettaCodeData/Task/Loops-For/Fantom/loops-for-1.fantom
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

14 lines
220 B
Text

class ForLoops
{
public static Void main ()
{
for (Int i := 1; i <= 5; ++i)
{
for (Int j := 1; j <= i; ++j)
{
Env.cur.out.print ("*")
}
Env.cur.out.printLine ("")
}
}
}