for i = 1 to 3 for j = 1 to 3 a (i,j)=i+j next j a(i,j)= i*j next i for i = 1 to 4 for j = 1 to 4

问题描述:

for i = 1 to 3 for j = 1 to 3 a (i,j)=i+j next j a(i,j)= i*j next i for i = 1 to 4 for j = 1 to 4
dim i as integer ,j as integer ,a (1 to 4 ,1 to 4) as integer
for i = 1 to 3
for j = 1 to 3
a (i,j)=i+j
next j
a(i,j)= i*j
next i
for i = 1 to 4
for j = 1 to 4
print a(i,j),
next j
print
next i
这次怎么逗号也不换行了.

我给你详细的说一下:
print ("*") 窗体上会打印一个*号,然后换行
不要换行的话要后面用个;好(分号)
print("*");