x = 15 s = 0 Do While x x = 15s = 0Do While x

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/18 22:35:47
x = 15 s = 0 Do While x x = 15s = 0Do While x
x)PU04U(R . 9  q0B&H$I0B2@ΆKm M ʹ ͵ - - l [#0YgÓK2Ju*tlޜ{feu βsOm+h#{ȅ8E'?@ Mq&{fw}*)FxU~yOX?gsflok3w

x = 15 s = 0 Do While x x = 15s = 0Do While x
x = 15 s = 0 Do While x
x = 15
s = 0
Do While x

x = 15 s = 0 Do While x x = 15s = 0Do While x
S=15+16+17+18+19+20+21+22+23
=171
X=24
所以Print s,x,结果:
171,24

x = 15
s = 0
Do While x <= 23
s = s + x
x = x + 1
Loop Print s, x。

搞清这是当循环。s=15+16+17+.......+23=171,x=23+1=24.望采纳