'给a(1)到a(6)各元素赋初值,代码略
For i= 1 To 6
If i Mod 2<>0 Then
If a(i) Mod 10> 5 Then
a(i)= a(i)\ 10
Else
a(i)= a(i) Mod 10
End If
a(i)=a(i- 1)+ 1
Next i
程序运行后a(1)到a(6)的值分别是2,3,4,5,0,1,则a(1)到a(6)各元素的初始值可能是( )
微信扫码预览、分享更方便