Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Need pseudocode for this question, please. The owners of the Super Supermarket w

ID: 3724096 • Letter: N

Question

Need pseudocode for this question, please.

The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee's net pay. The input for this program is an employee ID number, hourly rate of pay, and a number of regular and overtime hours worked. Gross pay is the sum of the wages earned from regular hours and overtime hours; overtime is paid at 1.5 times the regular rate. Net pay is gross pay minus deductions. Assume that deductions are taken for tax withholding (30 percent of gross pay) and parking ($10 per month).

You will need the following variables: Employee ID, HourlyRate, RegHours, OvertimeHours, GrossPay, Tax, Parking, Netpay

You will need the following formulas:

GrossPay = (RegularHours * HourlyRate) + (OvertimeHours * (HourlyRate * 1.5))

NetPay = GrossPay - (GrossPay * Tax) - parking

Explanation / Answer

Dear Student,

here is the pseudocode..

==============================================================

START:

1: Declare variables Employee ID, HourlyRate, RegHours, OvertimeHours, GrossPay, Tax, Parking = 10; Netpay

2: Accept Data from the user

    Employee Id

    Hourly Rate

    RegHours

    OvertimeHours

3: Calculate Gross Pay

    GrossPay = (RegularHours * HourlyRate) + (OvertimeHours * (HourlyRate * 1.5))

4: Calculate Tax

    Tax = GrossPay * 0.30

5: Calculate Net Pay

     NetPay = GrossPay - (GrossPay * Tax) - parking

6: Print GrossPay, Tax, Parking, NetPay

END:

==============================================================

   

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote