INPUT "vvedite nijnyuyu granicu m=", m
INPUT "vvedite verhnyuyu granicu n=", n
OPEN "file.txt" FOR OUTPUT AS #1
FOR i = 1 TO 10
PRINT "vvedite chislo iz intervala ["; m; ","; n; "]"
INPUT "", c
PRINT #1, c
NEXT
CLOSE
OPEN "file.txt" FOR INPUT AS #2
OPEN "file1.txt" FOR OUTPUT AS #3
FOR i = 1 TO 10
INPUT #2, c
IF c MOD 2 <> 0 THEN PRINT #3, c
NEXT
CLOSE
Тестирование выполнено в программе QB64 ( Скачать )