Question: It's a C++ Programming use Dev C++. Please make it clear. Thank you. 3. Write a program that will prompt for and read a number

It's a C++ Programming use Dev C++. Please make it clear.
Thank you.
3. Write a program that will prompt for and read a number of hours worked and a wage rate and then call a float valued function, calcwage, which will calculate and return the total wages earned. If the hours worked are 40 or less, then the total wages are hours worked times the wage rate. If the hours worked are over 40, then the total wages for the first 40 hours are paid at the regular rate and wages for hours worked over 40 hours are paid at 1.5 times the regular rate. The program should then display the total wages with a dollar sign and two places of accuracy. Notes: The calcwage function returns the total wages earned - it does not display it; the function should not contain any cout nor cin statements. Here is the statement you can use to output the rounded result - remember to include iomanip: cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
