CLS
RANDOMIZE TIMER
DIM a(10)
FOR i = 1 TO 10
a(i) = INT(RND * 89) + 10
IF a(i) MOD 2 = 0 THEN s = s + a(i)
PRINT a(i);
NEXT i: PRINT
PRINT s
CLS
RANDOMIZE TIMER
DIM a(10)
FOR i = 1 TO 10
a(i) = INT(RND * 89) + 10
IF a(i) MOD 2 = 0 THEN s = s + a(i)
PRINT a(i);
NEXT i: PRINT
PRINT s