早教吧 育儿知识 作业答案 考试题库 百科 知识分享

fori=1to3forj=1to3a(i,j)=i+jnextja(i,j)=i*jnextifori=1to4forj=1to4dimiasinteger,jasinteger,a(1to4,1to4)asintegerfori=1to3forj=1to3a(i,j)=i+jnextja(i,j)=i*jnextifori=1to4forj=1to4

题目详情
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("*");