Question: Write a program that prompts user to enter her hourly pay rate and weekday (M-F) h ours worked, and weekend hours worked last week. All

Write a program that prompts user to enter her hourly pay rate and weekday (M-F) hours worked, and weekend hours worked last week. All three values might not be integers. Understanding that "time and a half" applies to weekday hours in excess of forty, and that "double time" applies to any weekend hours, calculate and print the grad's regular pay, overtime pay, weekend pay, and total pay for the week. Outputs should display currency format with $ signs, two decimals, and commas for thousands. Example Outputs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!