试题 试卷
题型:单选题 题类:常考题 难易度:普通
浙江省宁波市2017-2018学年高二上学期信息技术期中考试试题
Dim i As Integer, s As Integer
Dim a (1 To 10)As Integer
For i =1 To 10
a(i)=i^2
If a(i)Mod 3=0 And a(i)Mod 5 =0 Then s= 50000+ a(i)
If a(i)Mod 3=0 Or a(i) Mod 5 =0 Then s =s+ a(i)
Next i
Text1. Text Str(s)
执行该程序段后,下列说法正确的是( )
试题篮