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) 200
B) 500
C) 750
D) 1000
E) 1250
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: What will be the values of ans,x,and
Q11: What will be the values of ans,x,and
Q12: What would be the value of bonus
Q13: When testing for character values, the switch
Q14: What will be printed when the following
Q15: What will be the value of ans
Q16: A block of code is enclosed in
Q17: What will be printed when the following
Q18: What will be the value of charges
Q39: If chr is a character variable, which