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)
执行该程序段后,下列说法正确的是( )
微信扫码预览、分享更方便