Write pseudocode to represent the logic of the following program:
• The program allows the user to enter three values.
• The values represent hourly pay rate, the number of hours worked
this pay period, and percentage of gross salary that is withheld.
• The program multiplies the hourly pay rate by the number of hours
worked, giving the gross pay.
• Then, it multiplies the gross pay by the withholding percentage,
giving the with- holding amount.
• Finally, it subtracts the withholding amount from the gross pay,
giving the net pay after taxes.
• The program outputs the net pay.
Comments
Leave a comment