1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dmitrij [34]
4 years ago
5

A company issues $5,000.00 bonuses at the end of the year to all employees who earn less than $100,000. Salary and bonus are bot

h defined as double data types. Which of the following selection statements would assign the correct amount to bonus?
a. if (salary bonus == $5000;b. if (salary bonus = 5000; --- Correctc. if (salary bonus = 5000;d. if (salary bonus = $5000;
Business
1 answer:
LekaFEV [45]4 years ago
7 0

Answer: C.

If (salary < 100000)

Bonus = 5000;

Explanation:

Salaries attached to each employee are already in the data. Since only workers earns salary less than 100000 are eligible for the bonus, the if statement checks the salary amount assigned to each worker, if the salary is greater than or equal to 100,000 , the loop terminates and the second line isn't executed. However, if the worker's salary is less than 100,000, the second line is executed which is to assign a 5000 bonus to the worker's earning. The dollar sign should be excluded as it could alter the data type. And the == sign is used to test for equality and not assignment.

You might be interested in
Capri Industries is considering an investment that has an initial cost of $26,500 and the following expected cash inflows: Year
kupik [55]

Answer:

It will take 3.5 years to cover the initial investment.

Explanation:

Giving the following information:

Initial investment= $26,500

Cash flows:

1 6,000

2 8,000

3 10,000

4 5,000

5 3,000

<u>The payback period is the time required to cover the initial investment:</u>

Year 1= 6,000 - 26,500= -20,500

Year 2= 8,000 - 20,500= -12,500

Year 3= 10,000 - 12,500= -2,500

Year 4= 5,000 - 2,500= 2,500

<u>To be more accurate:</u>

<u></u>

(2,500/5,000)= 0.5

It will take 3.5 years to cover the initial investment.

5 0
3 years ago
Each pail of plaster covers 97 square feet of ceiling. How many pails of plaster would you need to buy to cover the ceiling of a
romanna [79]

Answer:

2.02

Explanation:

Each pail of plaster covers 97 Square feet of ceiling

The ceiling of the room is 14 ft long

= 14×14

= 196

Therefore the pail of plaster that will be needed to cover the rooms can be calculated as follows

= 196/97

= 2.02

3 0
3 years ago
During the recession of 2008-2009, the administrations of Presidents George W. Bush and Barack Obama flooded several banking, fi
Jobisdone [24]

Answer:

The answer is: C. The trend toward mostly capitalist nations to move toward socialism.

Explanation:

Capitalism is an idea that favors free markets, but 100% pure capitalism will never exist. The same happens to socialism, no country is 100% socialist. All the countries in the world are mixed between capitalism and socialism but on different percentages.

For example, in a true capitalistic nation no government could exist since no taxation would be allowed. Governments function with the money of their citizens collected through taxes, but theoretically in a free market taxes don't exist. Currently the US and China are involved in a "trade war" which includes import tariffs, which should not exist according to capitalism.

I'm not sure, but I believe there are no pure socialist countries in the world and they probably have never existed either. Not even the Soviet Union was a pure socialist country and China has become the biggest defender of capitalism in the world.

5 0
3 years ago
Which of the following occupations relate to a skill category of words and literacy
likoan [24]
Theres nothing there
7 0
4 years ago
Pina Corporation entered into an operating lease agreement to lease equipment from Badger, Inc. on January 1, 2017. The lease ca
posledela

Answer:

= $80,273

Explanation:

Value of the right of use asset = Value of lease liability - cash incentive received + costs incurred for lease

                  = $82,773 -$ 6,000 + $3,000 + $500

                     =$80,273

4 0
3 years ago
Other questions:
  • Harrelson Company manufactures pizza sauce through two production departments: Cooking and Canning. In each process, materials a
    9·1 answer
  • The financial manager of Carolina Graphics negotiated a ________ with her bank that allows Carolina to borrow up to $50,000 with
    13·1 answer
  • Compare transnet with a perfect competitor in terms of price and output and profit
    7·1 answer
  • May I have help with this question please
    10·2 answers
  • Why did many artisans, manufacturers, and shopkeepers in the middle colonies in the eighteenth century prefer servants' labor ov
    14·1 answer
  • In the context of group decision making, which of the following is a difference between the nominal group technique (NGT) and th
    9·1 answer
  • Astute managers are alert for the presence of these clues: disciplinary actions being challenged, employees questioning manageri
    15·1 answer
  • A dominant strategy is: a) a strategy that is the best for a firm no matter what strategies other firms use. b) a strategy that
    11·1 answer
  • You are the head of resource planning at a major diversified products company based in London, England. Your company has multipl
    10·1 answer
  • An economist for a bicycle company predicts that a rise in consumer incomes will increase the demand for bicycles. this predicti
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!