Will Rate asLifesaver... Thanks Write a program to calculate gross pay for a pay
ID: 3616539 • Letter: W
Question
Will Rate asLifesaver... ThanksWrite a program to calculate gross pay for a pay period of no morethan 14 days (2weeks). Hours worked greater than 80 will be paidover time. The regular pay rate is $16.25 and overtime pay rate is1.5 x regular pay rate. The program will thendisplay: - Total hours worked:
- Total days worked :
- Total Regular Hours :
- Total OT Hours:
- Regular Pay :
- Overtime Pay:
- Gross pay : Will Rate asLifesaver... Thanks
Write a program to calculate gross pay for a pay period of no morethan 14 days (2weeks). Hours worked greater than 80 will be paidover time. The regular pay rate is $16.25 and overtime pay rate is1.5 x regular pay rate. The program will thendisplay: - Total hours worked:
- Total days worked :
- Total Regular Hours :
- Total OT Hours:
- Regular Pay :
- Overtime Pay:
- Gross pay :
Explanation / Answer
please rate - thanks #include using namespace std; int main() {int days,i; double hours=0,ot=0,rpay,opay,gross,tot=0,rate=16.25; coutdays; while(days>14||daysRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.