更新时间:2022-03-25 09:19:19
您可以使用while循环代替for循环.
you could use a while loop instead of a for loop.
类似的东西(我猜您想在c上加3,否则c = 4可以替换下面的那一行)
something like (I'm guessing you want to add 3 to c otherwise c = 4 could replace that line below)
b = 1;
c = 1;
while(c < 10)
if b == 1
c = c + 3
end
end