DIM a(11)
FOR i = 1 TO 10
PRINT "vvedite element a("; i; ")=";
INPUT "", a(i)
NEXT
PRINT "massiv"
FOR i = 1 TO 10
PRINT a(i);
NEXT
PRINT
FOR i = 11 TO 10 STEP -1
a(i) = a(i - 1)
NEXT
PRINT "novyj massiv"
FOR i = 1 TO 11
PRINT a(i);
NEXT
Тестирование выполнено в программе QB64 ( Скачать )