求1-2+3-4+5-6+.+99-100的值 s=0 for i=1 to 99 step 2 s=s+_________ next i print s 那横线上要怎

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/08 10:23:56
求1-2+3-4+5-6+.+99-100的值 s=0 for i=1 to 99 step 2 s=s+_________ next i print s 那横线上要怎
x){PHXDTL[OR {m 2m J,-KR 0ZQPPWPidG׋ele~ ]tה>l:a9X%3DZX3$5=,X``f B.SXAWF 19n

求1-2+3-4+5-6+.+99-100的值 s=0 for i=1 to 99 step 2 s=s+_________ next i print s 那横线上要怎
求1-2+3-4+5-6+.+99-100的值 s=0 for i=1 to 99 step 2 s=s+_________ next i print s 那横线上要怎

求1-2+3-4+5-6+.+99-100的值 s=0 for i=1 to 99 step 2 s=s+_________ next i print s 那横线上要怎
应该是这样吧
Dim s As Integer
s = 0
For i = 1 To 100 Step 2
s = s - 1
Next