次のマクロを実行した結果、D列に代入される数値の合計として正しいものを、選択肢の中から1つ解答しなさい。
Sub Exam1()
Dim i As Long
For i = 2 To 11
If Cells(i, 1) = “Green” Then Cells(i, 4) = Cells(i, 3) * 3
If Cells(i, 2) = “warm” Then
If Cells(i, 1) = “Brown” Then Cells(i, 4) = Cells(i, 3) /2
If Cells(i, 1) = “Yellow” Then Cells(i, 4) = Cells(i, 3) * 2
End If
Next i
End Sub
