Basic Program To adding one bye one from left – Pyramid

REM ADDING ONE BY ONE FROM LEFT- PYRAMID
CLS
LET Q$ = “PROGRAM”
LET W = LEN(Q$)
FOR I = 1 TO W
R$ = LEFT$(Q$, I)
PRINT R$
NEXT
END

Leave a comment