请教一条关于vb tab函数的问题 for x=5 to 1 step -1 for y=1 to 6-x print tab(y+5);"*" next print nextfor x=5 to 1 step -1 for y=1 to 6-xprint tab(y+5);“*”nextprintnext

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 02:54:52
请教一条关于vbtab函数的问题forx=5to1step-1fory=1to6-xprinttab(y+5);"*"nextprintnextforx=5to1step-1fory=1to6-xpr

请教一条关于vb tab函数的问题 for x=5 to 1 step -1 for y=1 to 6-x print tab(y+5);"*" next print nextfor x=5 to 1 step -1 for y=1 to 6-xprint tab(y+5);“*”nextprintnext
请教一条关于vb tab函数的问题 for x=5 to 1 step -1 for y=1 to 6-x print tab(y+5);"*" next print next
for x=5 to 1 step -1
for y=1 to 6-x
print tab(y+5);“*”
next
print
next

请教一条关于vb tab函数的问题 for x=5 to 1 step -1 for y=1 to 6-x print tab(y+5);"*" next print nextfor x=5 to 1 step -1 for y=1 to 6-xprint tab(y+5);“*”nextprintnext
估计你是想打印如
     *
     **
     ***
     ****
     *****
这个图形是吗,如果是这样的话,应该是
for x=5 to 1 step -1
for y=1 to 6-x
print tab(y+5);“*”
next y
print
next x