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

d. 1000

Computer Science & Information Technology

You might also like to view...

?Users can add Facebook or OneNote pictures in Sway without leaving the app. __________________?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What does "cell pointer" mean? Choose one answer.

a. None of the others b. Where data will go to when user begins to type. c. A cell with fill-handler. d. First cell in the active worksheet.

Computer Science & Information Technology