DIM x(6, 8)
FOR i = 1 TO 6
FOR j = 1 TO 8
INPUT "vvedite element ", x(i, j)
NEXT
NEXT
PRINT "matrica"
FOR i = 1 TO 6
FOR j = 1 TO 8
PRINT x(i, j);
NEXT
PRINT
NEXT
Тестирование выполнено в программе QB64 ( Скачать )