Multiple Choice
What will be the value of bonus after the following code is executed?
Int bonus, sales = 10000;
If (sales < 5000)
Bonus = 200;
Else if (sales < 7500)
Bonus = 500;
Else if (sales < 10000)
Bonus = 750;
Else if (sales < 20000)
Bonus = 1000;
Else
Bonus = 1250;
A) 750
B) 1250
C) 500
D) 1000
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q13: What will be displayed after the following
Q14: Which of the following statements determines whether
Q15: A flag may have the values<br>A) defined
Q17: What will be the value of x
Q19: The DecimalFormat class is part of the
Q19: All it takes for an OR expression
Q20: A block of code is enclosed in
Q22: What will be displayed after the following
Q23: What will be displayed when the following
Q48: If the expression on the left side