Multiple Choice
A company issues $5,000.00 bonuses at the end of the year to all employees who earn less than $100,000.Salary and bonus are both defined as double data types.Which of the following selection statements would assign the correct amount to bonus?
A) if (salary < $100,000)
Bonus == $5000;
B) if (salary < 100000)
Bonus = 5000;
C) if (salary <= 100000)
Bonus = 5000;
D) if (salary < 100000) ;
Bonus = $5000;
Correct Answer:

Verified
Correct Answer:
Verified
Q10: The <, >, <=, and >= are
Q22: When strings are compared, the first character
Q24: With an if statement, when you place
Q25: How can the compound conditional expression ((average
Q26: Forms of the if statement include one-way,
Q27: Boolean variables store 0 to represent off
Q40: if (aValue < largest ) result =
Q58: The assignment operators and the conditional operator
Q59: The conditional expression, sometimes called "the test,"
Q61: switch (phoneDigit)<br>{<br> case 1: <br> num =