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("*");
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
热门考点