For i=1 to 5 For j=1 to i Print "*"; Next j Print Next i Print "End1" For i=1 to 5 { For j=1 to i { Print "*"; } Print } Print "End2"