Examlex

Solved

What Will Be the Value of Bonus After the Following

question 1

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;


Definitions:

Bean-Based Soup

A type of soup that primarily uses beans as its main ingredient, often combined with vegetables, spices, and sometimes meat.

Sunflower Seeds

Edible seeds from the sunflower plant, often roasted and salted for consumption.

Workaholic

A person who compulsively works excessively hard and long hours beyond what is reasonably expected.

Codependent

A behavioral condition where an individual excessively relies on others for emotional or psychological support.

Related Questions