theinfozones blog
To print the sum of the square of odd numbers up to 100. (Qbasic Code)
To print the sum of the square of odd numbers up to 100.
CLS
s = 0
FOR i = 1 TO 100 STEP 2
s = s + i
NEXT i
PRINT "The sum of the numbers is "; s
END
Newer Post
Older Post
Home