在窗体上画2个命令按钮,名称分别为Command1、Command2,并编写如下程序:Const n=5,m=4Dim a(m,n)Private Sub Command1-Click()k=1For i=1 To mFor i=1 To na(i,j)=kk=k+1Next jNext iEnd SubPrivate Sub Command2_Click()summ=0For i=1 To mF
单选题
在窗体上画2个命令按钮,名称分别为Command1、Command2,并编写如下程序:Const n=5,m=4Dim a(m,n)Private Sub Command1-Click()k=1For i=1 To mFor i=1 To na(i,j)=kk=k+1Next jNext iEnd SubPrivate Sub Command2_Click()summ=0For i=1 To mF