关于矩阵求和的编程题,,求助
求两个矩阵之和,即C(3,4)=A(3,4)+B(3,4DIME A(3,4),B(3,4),C(3,4)
FOR I=1 TO 3
FOR J=1 TO 4
INPUT TO A(I,J)
INPUT TO B(I,J)
C(I,J)=A(I,J)+B(I,J)
ENDFOR
ENDFOR
FOR I=1 TO 3
FOR J=1 TO 4
??STR(C(I,J),6)
ENDFOR
?
ENDFOR
答案应该是这样吧但是我输入两个矩阵后在输出C明显不是A,B之和怎么回事