应该是这样(对VB不杂熟悉,但方式是这样的)set i=1for i to 101 step 1if i mod 10 =0 then'这里输出 i 并换行else'直接输出 iend ifnext
For i = 1 To 100If i Mod 5 = 0 ThenPrint iEnd IfNext i