dim A(1 to 6, 1 to 6) as Double,B as Double
dim K as integer,I as integer,J as integer,L as integer
CLS
for I=1 to 6
for J=1 to 6
print "BBEDITE A",I,J
input A(I,J)
next J
next I
print "BBEDITE K"
input K
B=0
L=1
for I=1 to 6
if B<ABS(A(I,K)) then
B=ABS(A(I,K))
L=I
end if
next I
for J=1 to 6
B=A(L,J)
A(L,J)=A(K,J)
A(K,J)=B
next J
for I=1 to 6
for J=1 to 6
print A(I,J)
next J
next I
end