[单选题]

下列程序段的执行结果为

D.im A(3,3)

F.or M=1 To 3

F.or N=1 To 3

If N=M Or N=3-M+1 Then

A.(M,N) =1

E.lse

A.(M,N) =0

E.nd If

Next N

Next M

F.or M=1 To 3

F.or N=1 To 3

Print A(M,N)

Next N

Print

Next M

A.1 0 0 0 1 0 0 0 0

B.1 1 1 1 1 1 1 1 1

C.0 0 0 0 0 0 0 0 0

D. 1 0 1 0 1 0 1 0 1

参考答案与解析:

相关试题

下列程序段的执行结果为Dim A(3,3)For M=1 To 3For N=1