4. Modify the program of Problem 3 so that it also computes and displays the employee’s net pay. Net pay is gross pay minus deductions. Assume that deductions are taken for tax withholding (30% of gross pay) and parking ($10 per month).

Even if we know what "problem 3" is, referring to previous posts, you would have to tell us what help you are look for.

We can review your pseudocode, help find logical or syntax errors, critique your code, etc., but we do not write the code for you and deprive you of practice.

Please post again with more specific needs.

Prompt employee for an hourly pay rate and hours worked. Compute gross pay (hour x rate), withholding tax and net pay (gross pay – withholding tax). Withholding tax is computed as a percentage of gross pay based on the following:

To modify the program from Problem 3 to compute and display the employee's net pay, you need to add code that calculates the deductions and subtracts them from the gross pay.

Here's an example of how you can modify the program to include the calculations for deductions:

```
# Prompt the user for input
hours_worked = float(input("Enter the number of hours worked: "))
hourly_rate = float(input("Enter the hourly pay rate: "))

# Calculate the gross pay
gross_pay = hours_worked * hourly_rate

# Calculate the deductions
tax_withholding = 0.3 * gross_pay # 30% of gross pay
parking_deduction = 10 # $10 per month

# Calculate the net pay
net_pay = gross_pay - (tax_withholding + parking_deduction)

# Display the results
print("Gross Pay: $", gross_pay)
print("Tax Withholding: $", tax_withholding)
print("Parking Deduction: $", parking_deduction)
print("Net Pay: $", net_pay)
```

In this modified program, we first calculate the gross pay as before. Then, we calculate the tax withholding by multiplying the gross pay by 30% (or 0.3). The parking deduction is a fixed amount of $10. Finally, we calculate the net pay by subtracting the deductions from the gross pay.

By adding these calculations to the program, it will now display the employee's net pay along with the other information.