请教一条关于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/05/05 07:37:28
请教一条关于vb tab函数的问题 for x=5 to 1 step -1 for y=1 to 6-x print tab(y+5);

请教一条关于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