wap a qbasic to find and print the sum of squared natural number from 1 to 100
Answers
Answered by
1
Answer:
here is your answer mate...
Explanation:
SCREEN 1
SUM = 0
FOR I% = 1 TO 99 STEP 2
CLS
LINE (1,1)-(I%,I%),1,BF
FOR Y% = 0 TO 199
FOR X% = 0 TO 319
SUM = SUM + POINT(X%,Y%)
NEXT X%
NEXT Y%
NEXT I%
CLS
PRINT "SUM = "; SUM
plz plz plz mark me as brainliest plzz...
Similar questions