Question: Write a C++ function that takes two parameters hours and rates then calculate and return the employee pay. The function should consider the overtime pay

Write a C++ function that takes two parameters hours and rates then calculate and return the employee pay. The function should consider the overtime pay for overtime hours over 40 which should be paid with a 1.5 rate. Test the function with real data within the main. Include a comment on the top with your name, course, and date.?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

cpp Author Your Name Course Course Name Date Date include iostream double calculatePaydouble hours d... View full answer

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!