仅给你第二题,希望你能好好学VB
2.
DIM S AS Integer
FOR INT I=1 to 100
IF I MOD 2=0 THEN
S=S+I
END IF
NEXT
PRINT S
(1)Score>0
(2)dim s as interger
s=((1+100)*50-50)/2
(解释:1加到100是50个奇数和50个偶数,50个偶数和必然比奇数和多50,得到如下方程:2x+50=sum(1+.....+100)
(3)
dim count as interger
dim i as interger
i=1,count=0
DO
count=count+Inputbox("输入单价:")*Inputbox("输入数量:")
i++
loop while i<=3
outputbox("总金额:"+count)