DIM i,k,s AS INTEGER i = 1 k = 0 s = 0 WHILE i < 10 IF i mod 2 = 2 THEN s = s + 1 k = k + s END IF i = i+1 END WHILE PRINT k