DIM n, a, b, s AS INTEGER INPUT n a = 0 b = 0 s = 3 Do s = s - 1 a = n DIV 10 b = n MOD 10 n = n DIV 10 LOOP WHILE s = 0 PRINT n PRINT a + b