c++ program-calculates and displays the weekly salary for an employee
Question
Write a program that calculates and displays the weekly salary for an employee who earns $25 an hour, works 40 regular hours, 13 overtime hours, and earns time and one-half (wage * 1.5) for overtime hours worked. Create a separate method to do the calculation and return the result to be displayed. Your program contain a class that holds the employee details indicated as well as the method to do the computation
Leave an answer
You must login or register to add a new answer .