for i=1 to 5 do for j=1 to i do puts(1,"*") end for puts(1,"\n") end for