Declare i,j and n Get value of n For i=1 To i<=n For j=1 to j<=i Display hello Update j=i+1 End for Update l=l+1 End for