Question: Financial application: Payroll & Access Code creation JMU Widgets is new startup company in Harrisonburg and has learned that you are taking a programming class.
Financial application: Payroll & Access Code creation
JMU Widgets is new startup company in Harrisonburg and has learned that you are taking a programming class. They are very interested in creating a payroll and Access Code program and they have come to you for help. You will create a Python program (named: LastnameFirstInitial_PA2) to calculate the total net paycheck and Access Code using the following information.
Data to be input:
Employee Name (first & last)
Number of hours worked
Hourly pay rate
Married or Single (to determine Federal tax rate)*
State tax rate
*Married tax rate 8%, Single tax rate 12% (use decision statement to test first letter only, make sure to change the capitalization to what you are testing). You may also want to use the Round function.
Output:
Use hourly wage and hours worked to determine Gross Pay. Then use appropriate withholding percentages to determine deductions.
Determine Access Code:
Create and combine the following 3 strings to determine Access Code. You will use string functions, methods, and operators for this.
String 1.Use remainder division to divide the length of the name string by 3. Use the portion of the name that starts at that position number, and includes up to the character in position 5 (see 2 examples below)
String 2.Use the last 4 letters, in upper case
String 3.Use the min and max letters/characters
Sample input and output:
Reminder:
For the rest of the course, you MUST use good programming techniques and comment your code to describe what it is doing and include the honor code.
#Client name:
#Programmer name:
#PA purpose: (a high-level description of the clients requirement, in your own words)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
