CLS
RANDOMIZE TIMER
INPUT "vvedite m"; m
INPUT "vvedite n"; n
DIM a(m, n)
FOR i = 1 TO m: FOR j = 1 TO n
a(i, j) = INT(RND * 201 - 100)
PRINT a(i, j);
NEXT: PRINT: NEXT
max = -1E38
FOR i = 1 TO m: min = a(i, 1): FOR j = 1 TO n
IF a(i, j) <= min THEN min = a(i, j): i1 = i: j1 = j
NEXT
IF min >= max THEN max = min: i2 = i1: j2 = j1
NEXT
PRINT STRING$(80, 196); max, "a("; i2; ","; j2; ")"
Тестирование выполнено в программе QB64 ( Скачать )