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
Q22: What will be printed when the following
Q23: What does the following code display?<br>Double x
Q24: What would be the value of x
Q25: To do a case insensitive compare which
Q26: What will be the value of pay
Q28: What is the value of ans after
Q30: Which of the following is the correct
Q32: The if/else statement will execute one group
Q34: In a switch statement, each of the
Q44: Which of the following expressions will determine