Write a C++ program to compute and display a person’s salary as determined by the following expressions:
If the number of hours worked is less than or equal to 40, the person receives the inputted basic rate per hour; otherwise, the person receives the first 40 hours at the basic rate and their remaining hours at 1.5 times the basic rate.
The program should request the basic rate and the hours worked like input and should display the salary earned as output. Give an appropriate input prompt and label output appropriately.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here