INPUT"vvedite kolichestvo chisel ",n
DIM a(n)
FOR i=1 TO n
DO
f=0
INPUT "vvedite chislo",a(i)
IF a(i)<>int(a(i)) THEN PRINT"chislo ne celoe, vvedite drugoe":f=1
LOOP UNTIL f=0
NEXT
PRINT "massiv"
FOR i=1 TO n
PRINT a(i);
NEXT
INPUT"vvedite kolichestvo chisel ",n
DIM a(n)
FOR i=1 TO n
DO
f=0
INPUT "vvedite chislo",a(i)
IF a(i)<>int(a(i)) THEN PRINT"chislo ne celoe, vvedite drugoe":f=1
LOOP UNTIL f=0
NEXT
PRINT "massiv"
FOR i=1 TO n
PRINT a(i);
NEXT