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

Please follow and like us:

Leave a comment