【加试题】某算法流程图如下图所示,该流程图对应的程序段为( )
A、s = 0 For i = 1 To 20 If i Mod 3 = 0 Then s = s + 2 * i Else i = i + 1 End If Next i
B、i = 1 For s = 0 To 20 If i Mod 3 = 0 Then s = s + 2 * i End If i = i + 1 Next i
C、i = 1: s = 0 Do While s <= 20 If i Mod 3 = 0 Then s = s + 2 * i Else i = i + 1 End If Loop
D、i = 1: s = 0 Do While s <= 20 If i Mod 3 = 0 Then s = s + 2 * i End If i = i + 1 Loop