Create a procedure the company wants to award


Problem

Create a procedure. The company wants to award $100,000 of profit by giving a bonus. The bonus is calculated as 20% of an employee's salary. Employees who earn lower salary values are given priority such that the $100,000 profit is distributed starting with the lowest salary earners in ascending order until the $100,000 is exhausted. If the $100,000 is exhausted, display the quantity of employees who received a bonus (condition 1) otherwise, display the portion from the $100,000 not used (condition 2). Run the procedure a second time with a different initial $100,000 amount to test the other condition. Clearly label both test runs.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a procedure the company wants to award
Reference No:- TGS03233586

Expected delivery within 24 Hours