Question: I need help writing a c basic program that calculates salary raises for 7 employees no loops allowed. I have given it a try and
I need help writing a c basic program that calculates salary raises for 7 employees no loops allowed. I have given it a try and have had no luck and this is my last resort for help. Would appreciate any help!
Program Set 1 Write a C program to calculate salary raise for employees. 0 $30000 the rate is 7.0% If salary is between 30000 40000 the rate is 5.5% If salary is between 40000 If salary is greater than the rate is 4.0% You are to use appropriate functions and pass parameters for this program. Please include at least one function that uses the return statement and at least one function that does not use the return statement. Draw a structure chart that shows all the functions. Write a function to allow user to input the salaries. Write a function to calculate the raises, the total of the original salaries, the total of raises and the total of all the new salaries with the raises. Write a function to print the output as following example (formatting required but the grid lines not necessary) You may have more than the 3 functions mentioned in item 3,4,5 Do not use loops. Calculation of Salary Raises Salary Raise Rate New Salary 0.00 0.00 0.00 0.00 25,000.00 1,750.00 26,750.00 7.00 31,650.00 30,000.00 1,650.00 5.50 35,000.00 36,925.00 1,925.00 5.50 5.50 2,200.00 40,000.00 42,200.00 4.00 40,001.00 1,600.04 41,601.04 4.000 45,000.00 1,800.00 46,800.00 Total $215,001.00 $10,925.04 $225,926.04
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
