Basic Program To Print Square of Odd Not Even

REM THIS IS SQUARE OF ODDS NOT EVEN
CLS
SUM = 0
FOR F = 1 TO 100
LET X = 2 * F – 1
LET D = X * X
PRINT D;
NEXT F
END

Please follow and like us:

Leave a comment