Write a conditional that assigns 10,000 to the variable bonus if the value of the variable goodsSold is greater than 500,000.
LANGUAGE: JAVA
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) bonus = 10000;