Multiple Choice
What would be the value of bonus after the following statements are executed? int bonus, sales = 1250;
If (sales > 1000)
Bonus = 100;
If (sales > 750)
Bonus = 50;
If (sales > 500)
Bonus = 25;
Else
Bonus = 0;
A) 100
B) 500
C) 25
D) 0
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q8: What does the following code display? <br>double
Q9: Which of the following is the correct
Q10: What will be the value of discountRate
Q11: The _ statement is used to create
Q13: When testing for character values, the switch
Q13: When testing for character values, the switch
Q14: What does the following code display? <br>int
Q15: Unicode is an international encoding system that
Q16: Which of the following will format 12.78
Q17: The String.format method works exactly like the