INPUT "vvedite razmer matricy N ", n
DIM a(n, n)
RANDOMIZE TIMER
FOR i = 1 TO n
FOR j = 1 TO n
a(i, j) = INT(RND * 20)
NEXT
NEXT
PRINT "matrica"
FOR i = 1 TO n
FOR j = 1 TO n
PRINT a(i, j);
NEXT
PRINT
NEXT
FOR j = 1 TO n
kol = 0
FOR i = 1 TO n
IF a(i, j) > 5.7 THEN kol = kol + 1
NEXT
PRINT "stolbec "; j; " kolichestvo="; kol
NEXT
Тестирование выполнено в программе QB64 ( Скачать )