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
cpp Author Your Name Course Course Name Date Date include iostream double calculatePaydouble hours d... View full answer
Get step-by-step solutions from verified subject matter experts
