SET TALK OFFDIMENSION A (5,5)CLEARFOR I=1 TO 5FOR J=1 TO 5A(I,J)=I*J ENDFORSET TALK ON RETURN

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 22:59:06
SETTALKOFFDIMENSIONA(5,5)CLEARFORI=1TO5FORJ=1TO5A(I,J)=I*JENDFORSETTALKONRETURNSETTALKOFFDIMENSIONA(

SET TALK OFFDIMENSION A (5,5)CLEARFOR I=1 TO 5FOR J=1 TO 5A(I,J)=I*J ENDFORSET TALK ON RETURN
SET TALK OFF
DIMENSION A (5,5)
CLEAR
FOR I=1 TO 5
FOR J=1 TO 5
A(I,J)=I*J
ENDFOR
SET TALK ON
RETURN

SET TALK OFFDIMENSION A (5,5)CLEARFOR I=1 TO 5FOR J=1 TO 5A(I,J)=I*J ENDFORSET TALK ON RETURN
1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20 5 10 15 20 25
题有点问题不过不影响,少了一个ENDFOR
这题就是外循环1乘到5内循环也从1乘到5就行了

SET TALK OFF
DIMENSION A (5,5)
CLEAR
FOR I=1 TO 5
FOR J=1 TO 5
A(I,J)=I*J
?? A( I,J)
ENDFOR
?
ENDFOR
SET TALK ON
RETURN