Question: C Programming Questions Lab Tutorial 3 Write a program with user defined functions to calculate the cost to a company for a proposed raise. The

C Programming Questions
 C Programming Questions Lab Tutorial 3 Write a program with user

Lab Tutorial 3 Write a program with user defined functions to calculate the cost to a company for a proposed raise. The program prompts for the number of employees and each employee's salary, and then calculates the individual raise and the total cost of raises. Employees earning $25,000 or less will receive a 5% raise. Employees earning between $25,001 and $35,000 will receive a 4% raise. Employees earning $35,001 or greater will receive a 3% raise. Display each employee's raise and the total raises. Sample Output Enter the number of employees: 4 Enter the salary for employee 1: 18600 Employee 1 receives a raise of $930.00 Enter the salary for employee 2: 24685 Employee 2 receives a raise of $1234.25 Enter the salary for employee 3: 32000 Employee 3 receives a raise of $1280.00 Enter the salary for employee 4: 48000 Employee 4 receives a raise of $1440.00 The total cost of raises: $4884.25

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!