Question: Develop a pseudocode algorithm to compute gross pay. The user will input the wage and how many hours a person has worked for the week.

Develop a pseudocode algorithm to compute gross pay. The user will input the wage and how many hours a person has worked for the week. The company determines the gross pay of an individual as: pay the regular rate for all hours worked up to 40 and including 40 hours, 1.5 times the regular wage for all hours over 40 up to 54 hours, and double wage times for all hours over 54 hours. Do not calculate any taxes for the individual. Your algorithm should display the following information: The name of the worker. The amount of pay without overtime ---- Called regular pay The amount of pay for time and a half --- Called time and half earnings The amount of pay at double time. ---- Called double time earnings The total amount of pay the individual has earned for this paycheck
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
