Examlex

Solved

What Would Be the Value of Bonus After the Following

question 50

Multiple Choice

What would be the value of bonus after the following statements are executed? int bonus, sales = 85000;
Char dept = 'S';
If (sales > 100000)
If (dept == 'R')
Bonus = 2000;
Else
Bonus = 1500;
Else if (sales > 75000)
If (dept == 'R')
Bonus = 1250;
Else
Bonus = 1000;
Else
Bonus = 0;


Definitions:

Shares Of Stock

Equal units of ownership in a corporation, representing a claim on part of the corporation’s assets and earnings.

Net Capital Spending

The total expenditure on fixed assets minus any sales of fixed assets, reflecting a company's investment in its physical assets.

Dividends Per Share

A measure of the dividend payment a shareholder receives for each share of stock held, calculated as the total dividends paid divided by the total number of shares.

Shares Of Stock

Shares of stock represent units of ownership in a corporation, entitling the holder to a proportion of the company's profits and voting rights.

Related Questions