Write a conditional that assigns 10,000 to the variable bonus if the value of the variable goodsSold is greater than 500,000.

LANGUAGE: Visual Basic

CHALLENGE:

Write a conditional that assigns 10,000 to the variable bonus if the value of the variable goodsSold is greater than 500,000.

SOLUTION:

If (goodsSold > 500000) Then
    bonus = 10000
End If