while语句 while 循环条件 do 希望循环的处理 end (do可以省略) i = 1 while i <= 10 ...

IP属地:上海
while语句 while 循环条件 do 希望循环的处理 end (do可以省略) i = 1 while i <= 10 ...
if~then~end (then可以省略) if 条件 then 条件成立时执行的处理 end a = 20 if a >= 10 then pri...
x = 10 y = 20 z = 30 area = (x*y + y*z + z*x) * 2 volume = x * y * z print "表面积=", area...