Question: This code is mean't to be done in C langauage. There will be the main function and the driver function, as seen in the prompt




This code is mean't to be done in C langauage.
There will be the main function and the driver function, as seen in the prompt above.
3. We will be writing a total of 3 functions for this program. prompt for_gross( ) prompt for_parking ( ) compute net_salary( ) The main( ) function is provided for you below. 4. Use the following symbolic constants in your program. They can be used inside the compute_net_salary( ) function since they are global symbolic constants. // Basic Deductions \#define FICA 7.6535 \#define FEDERAL 22.0 \#define STATE 7.0 \#define LOCAL 1.5 Jse the following code for your main function for this lab assignment. The compute_net_salary function has a prototype of double net_salary ( double gross_salary, double parking, double gym ); Since this is a complicated function, we want to write a driver to test it. Create a file called lab4_net_salary_driver.c and write your net_salary function there. The main program for the driver should be something like Problem Specification Create a function that calculates the net salary for an employee of the ABC Company. The net salary is calculated by deducting - 7.6535% for FICA - 22% for federal taxes - 7% for state taxes - 1.5% for local taxes In addition, the employee has either $75,$100, or $125 deducted for a parking fee and $22.50 for gym membership. Your program should prompt the user for the gross salary amount and then display the net take-home salary. You will also want to prompt the user for the parking fee they have
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
