Write a single function that takes the hours worked, and hourly rate of pay and returns...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a single function that takes the hours worked, and hourly rate of pay and returns the amount of regular pay, and overtime pay. Assume that all federal labor laws and rules apply. If you do not know these laws and rules then research them. If an employee works more than 40 hours then the employee gets paid 1.5 or time and a half for all work above 40 hours. Write a single function that calculates a deduction for Federal Income Taxes. You can assume all employees pay 28% of their income to the Federal government Federal Taxes equals the gross pay times the Federal Tax Rate Write a single function that calculates a deduction for Social Security Taxes. You can assume all employees pay 7.5% of their income towards Social Security Taxes. Social Security Taxes equals the gross pay times the Social Security Tax Rate Write a single function that calculates the net pay for the employee. Net Pay equals the gross pay minus the taxes. Write a single function that outputs the paycheck stub for the employee. Sample PayCheck Stub Hourly Rate: Hours Worked: Regular Pay: OT Pay: Gross Pay: Federal Tax: Soc Sec Tax: Net Pay: $10.00 41.0 $400.00 $15.00 $415.00 $116.20 $31.13 $267.67 Write a single function that takes the hours worked, and hourly rate of pay and returns the amount of regular pay, and overtime pay. Assume that all federal labor laws and rules apply. If you do not know these laws and rules then research them. If an employee works more than 40 hours then the employee gets paid 1.5 or time and a half for all work above 40 hours. Write a single function that calculates a deduction for Federal Income Taxes. You can assume all employees pay 28% of their income to the Federal government Federal Taxes equals the gross pay times the Federal Tax Rate Write a single function that calculates a deduction for Social Security Taxes. You can assume all employees pay 7.5% of their income towards Social Security Taxes. Social Security Taxes equals the gross pay times the Social Security Tax Rate Write a single function that calculates the net pay for the employee. Net Pay equals the gross pay minus the taxes. Write a single function that outputs the paycheck stub for the employee. Sample PayCheck Stub Hourly Rate: Hours Worked: Regular Pay: OT Pay: Gross Pay: Federal Tax: Soc Sec Tax: Net Pay: $10.00 41.0 $400.00 $15.00 $415.00 $116.20 $31.13 $267.67
Expert Answer:
Answer rating: 100% (QA)
1def calculatepayhoursworked hourlyrate if hoursworked 40 regularhours 40 overtimehours ... View the full answer
Related Book For
Posted Date:
Students also viewed these law questions
-
Emils son Kaffir suffers from a rare illness. During the last six months of 2018, Emil drove Kaffir to a specialist in another state 15 times. Each trip was 314.5 miles each way and required an...
-
SLS MACHINERY CO. LTD. (SLS) is engaged in the manufacture of specialized machinery. The company has been asked to provide a quotation for building a machine for a large textile industrial unit. SLSs...
-
Suppose that you purchase an investment at a price of $456. If this investment provides a cash benefit of $850 at the end of five years and the interest rate is compounded monthly, find the yield to...
-
DTG agreed to merge with the SPQ. The total equity purchase price of $45,000 is going to be 50% financed issuing DTGs common shares and 50% financed with cash raised by DTG issuing long-term debt....
-
Let the initial position and speed of an over damped, non-driven oscillator be x0 and v0, respectively. (a) Show that the values of the amplitudes A1 and A2 in Equation 3.44 have the values A1 = 2x0...
-
Job number A9028 requires $300 of direct materials and $400 of direct labour which is paid at the rate of $8 per hour. Production overheads are applied at a rate of $26 per direct labour hour....
-
Coteron, Sanchez, Martinez, and Aracil ("Optimization of the Synthesis of an Analogue of Jojoba Oil Using a Fully Central Composite Design," Canadian Journal of Chemical Engineering, 1993) studied...
-
A uniform 165-N bar is supported horizontally by two identical wires A and B (Fig. 16.43).Asmall185-N cube of lead is placed 3/4 of the way from A toB. The wires are each 75.0 cm long and have a mass...
-
Thornton Enterprises produces a product with fixed costs of $37,600 and variable cost of $3.30 per unit. The company desires to earn a $24,000 profit and believes it can sell 11,000 units of the...
-
Packer and Stringer were in partnership as retail traders sharing profits and losses: Packer 3/4, Stringer 1/4. The partners were credited annually with interest at the rate of 6% per annum on their...
-
Remvault Dairies witnessed a steady decline in the sales of its products due to increased competition in the local market, Remvault Dairies plans to adopt the market development strategy. In this...
-
Belle Fashions supplies garments to high street retailers. They have been paying dividends steadily for 10 years. During that time, dividends have grown at a compound annual rate of 5%. If Belle...
-
Consider two investment projects, both of which require an upfront investment of $12 million and pay a constant positive amount each year for the next 10 years. Under what conditions can you rank...
-
Your firm is considering a project that would require purchasing $7.2 million worth of new equipment. Determine the present value of the depreciation tax shield associated with this equipment if the...
-
List and describe the business models of the three types of air cargo airlines.
-
Home Builder Supply, a retailer in the home improvement industry, currently operates seven retail outlets in Georgia and South Carolina. Management is contemplating building an eighth retail store...
-
A 24 inch board is separated into two pieces. The shorter piece is 6 less than half the longer piece. Find the length of the longer piece.
-
When the concentration of a strong acid is not substantially higher than 1.0 10-7 M, the ionization of water must be taken into account in the calculation of the solution's pH. (a) Derive an...
-
How are product costs determined in an activity-based costing system?
-
What is a mixed cost? If the activity level increases, what happens to the total cost incurred? Give three examples of a mixed cost.
-
If a product has a positive segment margin but isnt as profitable as other products, what should managers do?
-
What are some of the issues that should be considered when conducting marketing research?
-
Why do organizations conduct marketing research?
-
What are the different methods of conducting marketing research?
Study smarter with the SolutionInn App