To print the sum of even numbers from 0 to 50.
- CLS
s = 0
FOR i = 0 TO 50 STEP 2
s = s + i
NEXT i
PRINT "The sum of the numbers is "; s
END
Home | IT Zone | Practice Zone | Tips / Tricks | Did You Know | Inspirational | Health | Insurance | Universities | Forex | Mathematics | Illusions | Children Day Quotes | Be Aware | Articles | Funny Pics | Entertainment | Songs | Simple Joys of Life