Computers and Technology
Computers and Technology, 04.12.2019 07:31, stoog7352

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:00, kiaunarayne808
The width of a piece of rectangular land is 5m shorter rhan 1/3 of its length .find the width of the land if the length is 60m,150m.
Answers: 1
image
Computers and Technology, 23.06.2019 08:00, seaotter7140
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
image
Computers and Technology, 23.06.2019 08:00, hernandez09297
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, kayranicole1
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
Do you know the correct answer?
What will be the value of bonus after the following code is executed?

int bonus, sales...

Questions in other subjects:

Konu
History, 19.09.2021 03:00
Konu
English, 19.09.2021 03:00