Basic Program To Print Sum of First 100 Numbers

REM SUM OF FIRST 100 NOS.
CLS
SUM = 0
FOR F = 1 TO 100
PRINT “NO. IS “; F
LET SUM = SUM + F
NEXT F
PRINT “SUM”; SUM
END

Leave a comment