Question: this is c programming 3.21 Ch. 3 Program: Pay calculation (C) Instructor note: This zyLab counts as a homework grade and is due by 11:59pm
this is c programming


3.21 Ch. 3 Program: Pay calculation (C) Instructor note: This zyLab counts as a homework grade and is due by 11:59pm on 13Feb Write a program that will calculate a person's weekly gross pay (gross pay is pay before taxes) (1) A person who is paid by the hour receives weekly gross pay based on their pay rate (as a double) (S/hr.) multiplied by the number of hours worked (as a double). (2 pts) Ex: Enter the pay rate: $10 Enter the number of hours worked: 12 Pay: $120.00 (2) In addition, if the person works more than 40 hours, they are paid time-and-a-half (1.5x) for hours in excess of 40 hours. (4 pts) Ex: Enter the pay rate: $10 Enter the number of hours worked: 41 Pay: $415.00 The program will ask the user to enter the pay rate of the person, followed by the number of hours worked, and will display the weekly gross pay
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
