subject

What will be the value of bonus after the following code is executed?

int bonus, sales = 6000;
if (sales < 5000);
bonus = 200;
else if (sales < 7500);
bonus = 500;
else if (sales < 1);
bonus = 750;
else if (sales < 2);
bonus = 1000;
else;
bonus = 1250;

a. 200
b. 500
c. 750
d. 1000

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
You know the right answer?
What will be the value of bonus after the following code is executed?

int bonus, sales...
Questions
question
Mathematics, 20.10.2021 21:20
question
Mathematics, 20.10.2021 21:20
question
Social Studies, 20.10.2021 21:20
question
Computers and Technology, 20.10.2021 21:20
question
World Languages, 20.10.2021 21:20