Question: The program should look like this: I am having trouble writing a code in Python that yields this output. Any help would be appreciated. Enter

The program should look like this:

 The program should look like this: I am having trouble writing

I am having trouble writing a code in Python that yields this output. Any help would be appreciated.

Enter employee's name: Chad Mano Enter number of hours worked in a week: 40 Enter hourly pay rate: 12.75 Enter federal tax withholding rate (ex. 0.12): 0.11 Enter state tax withholding rate (ex. 0.06): 0.07 CHAD MANO PAY INFORMATION 40 Pay Hours Worked: Pay Rate: $ Gross Pay: $ 12.75 510.00 Deductions Federal Withholding (11.%): $ State Withholding (7.0%): $ Total Deduction: $ 56.10 35.70 91.80 Net Pay: $ 418.20 Note the following: 1. The first 5 lines are asking for input from the user. 2. Notice the form tax rates are entered compared to how they're displayed. 3. Notice the alignment/formatting of the output 4. Headings of sections are centered and spaces between sections 5. Main output header is all capitalized 6. Output numbers are right aligned with decimals aligned 7. Colons and $ signs are aligned on output 8. No arithmetic calculations inside the print string (use variables) 9. A single print statement is used for output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!