Multiple Choice
What will be the value of bonus after the following statements are 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
Q48: If the expression on the left side
Q49: Which of the following is the not
Q50: What would be the value of bonus
Q51: When two strings are compared using the
Q52: An expression tested by an if statement
Q53: What will be the values of ans,
Q55: What will be the value of x
Q56: All it takes for an AND expression
Q57: _ works like this: If the expression
Q58: What is the value of ans after