Question: Program Gross Pay. Implement this program using functions. Please pay attention to the requirements Function should have 1 parameter for gross salary. Return is net
Program Gross Pay. Implement this program using functions.
Please pay attention to the requirements Function should have 1 parameter for gross salary. Return is net salary. Print out employee name and net salary.
Write a program to fetch employee name and the salary. Calculate the Federal tax and state tax based on the following criteria: If the salary is greater than 100000 then calculate the federal tax at 15% otherwise calculate the federal tax at 10% Calculate the state tax at 5% Calculate the net salary of the employee. To calculate the net salary, subtract federal and state tax from the gross salary.
(PYTHON 3 CODING USING FUNCTIONS)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
