You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
START
declare n,u
OUTPUT "ENTER max width of triangle"
input n
FOR i=1 to n*2
IF i < n
u = i
ELSE
u = n - (i - n)
ENDIF
FOR j=1 to u
OUTPUT "*"
ENDFOR
OUTPUT "\n"
ENDFOR
END