关于vb的for语句来,前段时间生病休息了几天 没学到for语句 所以就.还有就是do while i《=8s=s+ii

关于vb的for语句来,
前段时间生病休息了几天 没学到for语句 所以就.
还有就是
do while i《=8
s=s+i
i=i+1
loop
这个改成for是啥?
for i(1 to 10)step1
s=s+i
next i
这样对吗.
为了生活2 1年前 已收到1个回答 举报

向右转齐步走 幼苗

共回答了19个问题采纳率:89.5% 举报

for i = 1 to 8step 1
s=s +1
next i

for X = a to b step c
for 语句就是 X取值从a 开始 ,每次增加c , 一直到b 为止.

1年前

6
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.028 s. - webmaster@yulucn.com